diff options
author | Tamir Duberstein <tamird@gmail.com> | 2015-01-13 14:47:32 -0500 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2015-04-10 19:43:51 -0400 |
commit | 9f42f5f4a423b923f7b07ae8c5e8db4943df49c6 (patch) | |
tree | fd376cb74cae08e5bc77a8f23a797d8d5f49cc44 /python/google/protobuf/internal/text_encoding_test.py | |
parent | dab96f19ee2cb1dab5a403987329326ee23c2191 (diff) | |
download | protobuf-9f42f5f4a423b923f7b07ae8c5e8db4943df49c6.tar.gz protobuf-9f42f5f4a423b923f7b07ae8c5e8db4943df49c6.tar.bz2 protobuf-9f42f5f4a423b923f7b07ae8c5e8db4943df49c6.zip |
[PYTHON] Drop dependency on 'google.apputils'.
Use stdlib's 'unittest' instead.
Diffstat (limited to 'python/google/protobuf/internal/text_encoding_test.py')
-rwxr-xr-x | python/google/protobuf/internal/text_encoding_test.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python/google/protobuf/internal/text_encoding_test.py b/python/google/protobuf/internal/text_encoding_test.py index db0222bd..48c30f01 100755 --- a/python/google/protobuf/internal/text_encoding_test.py +++ b/python/google/protobuf/internal/text_encoding_test.py @@ -32,7 +32,8 @@ """Tests for google.protobuf.text_encoding.""" -from google.apputils import basetest +import unittest + from google.protobuf import text_encoding TEST_VALUES = [ @@ -50,7 +51,7 @@ TEST_VALUES = [ b"\010\011\012\013\014\015")] -class TextEncodingTestCase(basetest.TestCase): +class TextEncodingTestCase(unittest.TestCase): def testCEscape(self): for escaped, escaped_utf8, unescaped in TEST_VALUES: self.assertEquals(escaped, @@ -65,4 +66,4 @@ class TextEncodingTestCase(basetest.TestCase): if __name__ == "__main__": - basetest.main() + unittest.main() |