def test_defaultIDFunction(self):
        obj = object()
        idValue = id(obj)
        if idValue < 0:
            idValue += (sys.maxint + 1) * 2

        self.assertEqual(util.unsignedID(obj), idValue)
L{util.unsignedID} uses the built in L{id} by default.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/UnsignedIDTests.test_defaultIDFunction