diff options
author | Jonathon Love <jon@thon.cc> | 2016-09-02 12:36:11 +1000 |
---|---|---|
committer | Jonathon Love <jon@thon.cc> | 2016-09-02 12:36:11 +1000 |
commit | 64958cdb1d68a0ddaf10bd0ebdb4c112c370c416 (patch) | |
tree | 0d6dee95779cda4bb85bd3005729acda30ef7b6d | |
parent | d00cab0f8c0df511ad06d55add9b65b590d7451e (diff) | |
download | protobuf-64958cdb1d68a0ddaf10bd0ebdb4c112c370c416.tar.gz protobuf-64958cdb1d68a0ddaf10bd0ebdb4c112c370c416.tar.bz2 protobuf-64958cdb1d68a0ddaf10bd0ebdb4c112c370c416.zip |
Fix to typo/oversight in python tests
Fix to typo/oversight in python tests, only affecting python 3
-rwxr-xr-x | python/google/protobuf/internal/reflection_test.py | 2 |
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) |