mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)
This commit is contained in:
parent
8ea6353f60
commit
700cfa8c90
24 changed files with 110 additions and 77 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue