aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py')
-rwxr-xr-xpython/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py5
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\''