diff options
Diffstat (limited to 'python/compatibility_tests/v2.5.0')
-rwxr-xr-x | python/compatibility_tests/v2.5.0/setup.py | 2 | ||||
-rwxr-xr-x | python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/python/compatibility_tests/v2.5.0/setup.py b/python/compatibility_tests/v2.5.0/setup.py index b41d54d4..bf675367 100755 --- a/python/compatibility_tests/v2.5.0/setup.py +++ b/python/compatibility_tests/v2.5.0/setup.py @@ -59,7 +59,7 @@ if __name__ == '__main__': setup( name='protobuf', description='Protocol Buffers', - download_url='https://github.com/google/protobuf/releases', + download_url='https://github.com/protocolbuffers/protobuf/releases', long_description="Protocol Buffers are Google's data interchange format", url='https://developers.google.com/protocol-buffers/', maintainer='protobuf@googlegroups.com', diff --git a/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py b/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py index 8267cd2c..bc53e256 100755 --- a/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py +++ b/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py @@ -410,7 +410,8 @@ class TextFormatTest(unittest.TestCase): text = 'optional_nested_enum: BARR' self.assertRaisesWithMessage( text_format.ParseError, - ('1:23 : Enum type "protobuf_unittest.TestAllTypes.NestedEnum" ' + ('1:23 : \'optional_nested_enum: BARR\': ' + 'Enum type "protobuf_unittest.TestAllTypes.NestedEnum" ' 'has no value named BARR.'), text_format.Merge, text, message) @@ -418,7 +419,8 @@ class TextFormatTest(unittest.TestCase): text = 'optional_nested_enum: 100' self.assertRaisesWithMessage( text_format.ParseError, - ('1:23 : Enum type "protobuf_unittest.TestAllTypes.NestedEnum" ' + ('1:23 : \'optional_nested_enum: 100\': ' + 'Enum type "protobuf_unittest.TestAllTypes.NestedEnum" ' 'has no value with number 100.'), text_format.Merge, text, message) @@ -427,7 +429,8 @@ class TextFormatTest(unittest.TestCase): text = 'optional_int32: bork' self.assertRaisesWithMessage( text_format.ParseError, - ('1:17 : Couldn\'t parse integer: bork'), + ('1:17 : \'optional_int32: bork\': ' + 'Couldn\'t parse integer: bork'), text_format.Merge, text, message) def testMergeStringFieldUnescape(self): |