diff options
author | Dan O'Reilly <oreilldf@gmail.com> | 2015-08-14 16:12:34 -0400 |
---|---|---|
committer | Dan O'Reilly <oreilldf@gmail.com> | 2015-08-14 16:12:34 -0400 |
commit | 3d5aa6aef97f7ba9394f226778fdba91a9f89d59 (patch) | |
tree | e0810fd019eaabf7fbe92a5368d825eecc2fa6ce /python/google/protobuf/internal/text_format_test.py | |
parent | fe7d9379df3ce7c951bc0652a451413cff02382a (diff) | |
download | protobuf-3d5aa6aef97f7ba9394f226778fdba91a9f89d59.tar.gz protobuf-3d5aa6aef97f7ba9394f226778fdba91a9f89d59.tar.bz2 protobuf-3d5aa6aef97f7ba9394f226778fdba91a9f89d59.zip |
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-x | python/google/protobuf/internal/text_format_test.py | 2 |
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')) |