mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Try to make test_import a bit more robust
This commit is contained in:
parent
60bf7e9e4d
commit
46719af05a
@ -30,6 +30,9 @@ def remove_files(name):
|
||||
|
||||
class ImportTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
remove_files(TESTFN)
|
||||
|
||||
def tearDown(self):
|
||||
unload(TESTFN)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user