Commit 74638a25 authored by Joshua Haberman's avatar Joshua Haberman Committed by GitHub

Merge pull request #2047 from jonathon-love/master

Fix to typo/oversight in reflection tests
parents 9b8da104 64958cdb
...@@ -636,7 +636,7 @@ class ReflectionTest(unittest.TestCase): ...@@ -636,7 +636,7 @@ class ReflectionTest(unittest.TestCase):
if struct.calcsize('L') == 4: if struct.calcsize('L') == 4:
# Python only has signed ints, so 32-bit python can't fit an uint32 # Python only has signed ints, so 32-bit python can't fit an uint32
# in an int. # in an int.
TestGetAndDeserialize('optional_uint32', 1 << 31, long) TestGetAndDeserialize('optional_uint32', 1 << 31, integer_64)
else: else:
# 64-bit python can fit uint32 inside an int # 64-bit python can fit uint32 inside an int
TestGetAndDeserialize('optional_uint32', 1 << 31, int) TestGetAndDeserialize('optional_uint32', 1 << 31, int)
......
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