aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/text_format_test.py
diff options
context:
space:
mode:
authorGravatar Dan O'Reilly <oreilldf@gmail.com>2015-08-14 16:12:34 -0400
committerGravatar Dan O'Reilly <oreilldf@gmail.com>2015-08-14 16:12:34 -0400
commit3d5aa6aef97f7ba9394f226778fdba91a9f89d59 (patch)
treee0810fd019eaabf7fbe92a5368d825eecc2fa6ce /python/google/protobuf/internal/text_format_test.py
parentfe7d9379df3ce7c951bc0652a451413cff02382a (diff)
Fix some more Python 3 compat issues
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
Diffstat (limited to 'python/google/protobuf/internal/text_format_test.py')
-rwxr-xr-xpython/google/protobuf/internal/text_format_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/text_format_test.py b/python/google/protobuf/internal/text_format_test.py
index 55b32249..49e6332c 100755
--- a/python/google/protobuf/internal/text_format_test.py
+++ b/python/google/protobuf/internal/text_format_test.py
@@ -101,7 +101,7 @@ class TextFormatTest(TextFormatBase):
'repeated_string: "\\303\\274\\352\\234\\237"\n')
def testPrintExoticUnicodeSubclass(self, message_module):
- class UnicodeSub(unicode):
+ class UnicodeSub(six.text_type):
pass
message = message_module.TestAllTypes()
message.repeated_string.append(UnicodeSub(u'\u00fc\ua71f'))