Skip to content

Commit

Permalink
Don't need to encode here as Python 3 uses strings by default
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenxxiu committed Jan 5, 2020
1 parent 1e8066b commit 1e680d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ def test_encoding2():
for fn in files:
flag_ok_raw = flag_ok_files = 0
for srcfn, destfn in datafns:
if os.path.join(u'\u3070\u304B', destfn).encode('utf-8') == fn:
if os.path.join(u'\u3070\u304B', destfn) == fn:
raw_fnok += 1
flag_ok_raw = 1
try:
Expand Down

0 comments on commit 1e680d0

Please sign in to comment.