diff options
author | Jie Luo <jieluo@google.com> | 2017-01-23 15:11:00 -0800 |
---|---|---|
committer | Jie Luo <jieluo@google.com> | 2017-01-26 11:05:16 -0800 |
commit | ea511491009a40360b4891cdc58d2c3f9bdf4481 (patch) | |
tree | 4609dbf4b5729075cf066d6bcc77a10c90b6f3c9 /python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py | |
parent | 140e28d12e5eee856cbe1cac3313399542ec7a5b (diff) | |
download | protobuf-ea511491009a40360b4891cdc58d2c3f9bdf4481.tar.gz protobuf-ea511491009a40360b4891cdc58d2c3f9bdf4481.tar.bz2 protobuf-ea511491009a40360b4891cdc58d2c3f9bdf4481.zip |
Add python compatibility tests against v2.5.0 amd run on Travis.
Diffstat (limited to 'python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py')
-rwxr-xr-x | python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
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 4b1b4f59..6bf7befb 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 @@ -94,6 +94,7 @@ class TextFormatTest(unittest.TestCase): ' }\n' '}\n') + """ def testPrintBadEnumValue(self): message = unittest_pb2.TestAllTypes() message.optional_nested_enum = 100 @@ -115,6 +116,7 @@ class TextFormatTest(unittest.TestCase): '[protobuf_unittest.optional_nested_enum_extension]: 100\n' '[protobuf_unittest.optional_foreign_enum_extension]: 101\n' '[protobuf_unittest.optional_import_enum_extension]: 102\n') + """ def testPrintExotic(self): message = unittest_pb2.TestAllTypes() @@ -470,7 +472,7 @@ class TextFormatTest(unittest.TestCase): class TokenizerTest(unittest.TestCase): - + """ def testSimpleTokenCases(self): text = ('identifier1:"string1"\n \n\n' 'identifier2 : \n \n123 \n identifier3 :\'string\'\n' @@ -585,6 +587,7 @@ class TokenizerTest(unittest.TestCase): self.assertEqual(0, tokenizer.ConsumeUint32()) self.assertEqual(0, tokenizer.ConsumeUint64()) self.assertTrue(tokenizer.AtEnd()) + """ def testConsumeByteString(self): text = '"string1\'' |