Fix to typo/oversight in python tests

Fix to typo/oversight in python tests, only affecting python 3
This commit is contained in:
Jonathon Love 2016-09-02 12:36:11 +10:00
parent d00cab0f8c
commit 64958cdb1d

View File

@ -636,7 +636,7 @@ class ReflectionTest(unittest.TestCase):
if struct.calcsize('L') == 4:
# Python only has signed ints, so 32-bit python can't fit an uint32
# in an int.
TestGetAndDeserialize('optional_uint32', 1 << 31, long)
TestGetAndDeserialize('optional_uint32', 1 << 31, integer_64)
else:
# 64-bit python can fit uint32 inside an int
TestGetAndDeserialize('optional_uint32', 1 << 31, int)