Kaydet (Commit) 887b3f26 authored tarafından Guilherme Polo's avatar Guilherme Polo

long -> int

üst 48494d0d
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment