mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
test: update test_uu
This commit is contained in:
1 file changed
+3
-3
Vendored
+3
-3
@@ -4,7 +4,6 @@ Nick Mathewson
|
||||
"""
|
||||
|
||||
import unittest
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
|
||||
import os
|
||||
@@ -187,8 +186,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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user