Commit 09cff641 authored by Neal Norwitz's avatar Neal Norwitz

Since the filename is encoded, we must add bytes to it. The test

still fails, but gets a little further with this change.
parent f7399916
......@@ -195,7 +195,7 @@ class TestUnicodeFiles(unittest.TestCase):
# For all 'equivilent' combinations:
# Make dir with encoded, chdir with unicode, checkdir with encoded
# (or unicode/encoded/unicode, etc
ext = ".dir"
ext = b".dir"
self._do_directory(TESTFN_ENCODED+ext, TESTFN_ENCODED+ext, True)
self._do_directory(TESTFN_ENCODED+ext, TESTFN_UNICODE+ext, True)
self._do_directory(TESTFN_UNICODE+ext, TESTFN_ENCODED+ext, False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment