bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)
diff --git a/Lib/test/test_ntpath.py b/Lib/test/test_ntpath.py
index 4a02db2..6f881f1 100644
--- a/Lib/test/test_ntpath.py
+++ b/Lib/test/test_ntpath.py
@@ -725,7 +725,7 @@
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: