diff options
author | Tres Seaver <tseaver@palladion.com> | 2015-01-13 14:56:00 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2015-01-13 14:56:00 -0500 |
commit | 9821016cfa01102971d91207f042a2d39c4ba23b (patch) | |
tree | d0c76a2fbc8ca26340c44b95ba5c214ce8745954 /python/google/protobuf/internal/text_format_test.py | |
parent | f336d4b7a5c1d369ed508e513d482c885705e939 (diff) | |
parent | 7ee25830c6707540242f441df5cd1c2a2000ca58 (diff) | |
download | protobuf-9821016cfa01102971d91207f042a2d39c4ba23b.tar.gz protobuf-9821016cfa01102971d91207f042a2d39c4ba23b.tar.bz2 protobuf-9821016cfa01102971d91207f042a2d39c4ba23b.zip |
Merge branch 'drop-apputils-dependency' into straddle_py2_py3
Conflicts:
python/google/protobuf/internal/message_factory_test.py
python/google/protobuf/internal/reflection_test.py
python/google/protobuf/internal/text_format_test.py
Diffstat (limited to 'python/google/protobuf/internal/text_format_test.py')
-rwxr-xr-x | python/google/protobuf/internal/text_format_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/google/protobuf/internal/text_format_test.py b/python/google/protobuf/internal/text_format_test.py index 3455a000..e8b365ff 100755 --- a/python/google/protobuf/internal/text_format_test.py +++ b/python/google/protobuf/internal/text_format_test.py @@ -35,16 +35,16 @@ __author__ = 'kenton@google.com (Kenton Varda)' import re +import unittest import six -from google.apputils import basetest from google.protobuf import text_format from google.protobuf.internal import test_util from google.protobuf import unittest_pb2 from google.protobuf import unittest_mset_pb2 -class TextFormatTest(basetest.TestCase): +class TextFormatTest(unittest.TestCase): def ReadGolden(self, golden_filename): with test_util.GoldenFile(golden_filename) as f: @@ -601,7 +601,7 @@ class TextFormatTest(basetest.TestCase): self.assertEqual('oneof_uint32', m2.WhichOneof('oneof_field')) -class TokenizerTest(basetest.TestCase): +class TokenizerTest(unittest.TestCase): def testSimpleTokenCases(self): text = ('identifier1:"string1"\n \n\n' @@ -746,4 +746,4 @@ class TokenizerTest(basetest.TestCase): if __name__ == '__main__': - basetest.main() + unittest.main() |