diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-06-25 14:56:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 14:56:31 (GMT) |
commit | 700cfa8c90a90016638bac13c4efd03786b2b2a0 (patch) | |
tree | 62994f7b8d6fccd910d5f65bd6cd49a4f72bf8ae /Lib/test/test_uu.py | |
parent | 8ea6353f60625c96ce96588c70ff24a77f8c71f9 (diff) | |
download | cpython-700cfa8c90a90016638bac13c4efd03786b2b2a0.zip cpython-700cfa8c90a90016638bac13c4efd03786b2b2a0.tar.gz cpython-700cfa8c90a90016638bac13c4efd03786b2b2a0.tar.bz2 |
bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)
Diffstat (limited to 'Lib/test/test_uu.py')
-rw-r--r-- | Lib/test/test_uu.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_uu.py b/Lib/test/test_uu.py index e229e92..753b31e 100644 --- a/Lib/test/test_uu.py +++ b/Lib/test/test_uu.py @@ -174,8 +174,9 @@ class UUStdIOTest(unittest.TestCase): class UUFileTest(unittest.TestCase): def setUp(self): - self.tmpin = os_helper.TESTFN + "i" - self.tmpout = os_helper.TESTFN + "o" + # uu.encode() supports only ASCII file names + self.tmpin = os_helper.TESTFN_ASCII + "i" + self.tmpout = os_helper.TESTFN_ASCII + "o" self.addCleanup(os_helper.unlink, self.tmpin) self.addCleanup(os_helper.unlink, self.tmpout) |