aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/text_encoding_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/internal/text_encoding_test.py')
-rwxr-xr-xpython/google/protobuf/internal/text_encoding_test.py7
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()