浏览代码

Fix to typo/oversight in python tests

Fix to typo/oversight in python tests, only affecting python 3
Jonathon Love 9 年之前
父节点
当前提交
64958cdb1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/google/protobuf/internal/reflection_test.py

+ 1 - 1
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)