Skip to content

Commit eb8f053

Browse files
cclaussdbieber
authored andcommitted
Change unicode() —> six.text_type() for Python 3 (google#128)
See google#111
1 parent 021d627 commit eb8f053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fire/parser_fuzz_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def testDefaultParseValueFuzz(self, value):
6868
raise
6969

7070
try:
71-
uvalue = unicode(value)
72-
uresult = unicode(result)
71+
uvalue = six.text_type(value)
72+
uresult = six.text_type(result)
7373
except UnicodeDecodeError:
7474
# This is not what we're testing.
7575
return

0 commit comments

Comments
 (0)