aboutsummaryrefslogtreecommitdiffhomepage
path: root/python
diff options
context:
space:
mode:
authorGravatar Jonathon Love <jon@thon.cc>2016-09-02 12:36:11 +1000
committerGravatar Jonathon Love <jon@thon.cc>2016-09-02 12:36:11 +1000
commit64958cdb1d68a0ddaf10bd0ebdb4c112c370c416 (patch)
tree0d6dee95779cda4bb85bd3005729acda30ef7b6d /python
parentd00cab0f8c0df511ad06d55add9b65b590d7451e (diff)
Fix to typo/oversight in python tests
Fix to typo/oversight in python tests, only affecting python 3
Diffstat (limited to 'python')
-rwxr-xr-xpython/google/protobuf/internal/reflection_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/reflection_test.py b/python/google/protobuf/internal/reflection_test.py
index 20e5d245..6f3b818a 100755
--- a/python/google/protobuf/internal/reflection_test.py
+++ b/python/google/protobuf/internal/reflection_test.py
@@ -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)