Skip to content

Commit

Permalink
Change unicode() —> six.text_type() for Python 3 (google#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and dbieber committed Jun 22, 2018
1 parent 021d627 commit eb8f053
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fire/parser_fuzz_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def testDefaultParseValueFuzz(self, value):
raise

try:
uvalue = unicode(value)
uresult = unicode(result)
uvalue = six.text_type(value)
uresult = six.text_type(result)
except UnicodeDecodeError:
# This is not what we're testing.
return
Expand Down

0 comments on commit eb8f053

Please sign in to comment.