Example #1
0
 def test_no_args(self):
     try:
         id()
     except TypeError:
         pass
     else:
         self.fail("Failed to raise TypeError")
Example #2
0
 def test_no_args(self):
     try:
         id()
     except TypeError:
         pass
     else:
         self.fail("Failed to raise TypeError")
Example #3
0
    def test(self):
        obj = object()

        self.failUnless(id(obj) is obj)
Example #4
0
 def test(self):
     obj = object()
     
     self.failUnless(id(obj) is obj)