mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Fixed #1673. I hope it works. I don't have access to a Windows box right now.
This commit is contained in:
parent
a30be3031f
commit
3acc41b5f6
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class UnicodeFileTests(unittest.TestCase):
|
|||
f1 = os.listdir(test_support.TESTFN)
|
||||
f2 = os.listdir(str(test_support.TESTFN.encode("utf-8"),
|
||||
sys.getfilesystemencoding()))
|
||||
sf2 = set("\\".join((unicode(test_support.TESTFN), f))
|
||||
sf2 = set("\\".join((str(test_support.TESTFN), f))
|
||||
for f in f2)
|
||||
self.failUnlessEqual(len(f1), len(self.files))
|
||||
self.failUnlessEqual(sf2, set(self.files))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue