long -> int

This commit is contained in:
Guilherme Polo 2009-02-07 00:45:10 +00:00
parent 48494d0d9f
commit 887b3f2625
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class HashEqualityTestCase(unittest.TestCase):
# for 64-bit platforms
self.same_hash(int(2**31), float(2**31))
self.same_hash(int(-2**63), float(-2**63))
self.same_hash(long(2**63), float(2**63))
self.same_hash(int(2**63), float(2**63))
def test_coerced_floats(self):
self.same_hash(int(1.23e300), float(1.23e300))