mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Since the filename is encoded, we must add bytes to it. The test
still fails, but gets a little further with this change.
This commit is contained in:
parent
f73999165e
commit
09cff641b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue