mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
[3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156)
(cherry picked from commit 700cfa8c90
)
This commit is contained in:
parent
ad7a66731f
commit
f925407a19
23 changed files with 108 additions and 76 deletions
|
@ -725,7 +725,7 @@ class PathLikeTests(NtpathTestCase):
|
|||
path = ntpath
|
||||
|
||||
def setUp(self):
|
||||
self.file_name = support.TESTFN.lower()
|
||||
self.file_name = support.TESTFN
|
||||
self.file_path = FakePath(support.TESTFN)
|
||||
self.addCleanup(support.unlink, self.file_name)
|
||||
with open(self.file_name, 'xb', 0) as file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue