diff options
author | 2015-01-13 14:47:32 -0500 | |
---|---|---|
committer | 2015-01-13 14:47:32 -0500 | |
commit | 7ee25830c6707540242f441df5cd1c2a2000ca58 (patch) | |
tree | bd1ae22f8180b0e3aa4f341413c503eb55b38321 /python/google/protobuf/internal/text_encoding_test.py | |
parent | 052e0205a76717f39fc65e303fd2b92ab1df3028 (diff) |
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() |