From 64958cdb1d68a0ddaf10bd0ebdb4c112c370c416 Mon Sep 17 00:00:00 2001 From: Jonathon Love Date: Fri, 2 Sep 2016 12:36:11 +1000 Subject: Fix to typo/oversight in python tests Fix to typo/oversight in python tests, only affecting python 3 --- python/google/protobuf/internal/reflection_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3