diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index cf17c9615dc..95a5f48fce3 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -30,6 +30,9 @@ def remove_files(name): class ImportTests(unittest.TestCase): + def setUp(self): + remove_files(TESTFN) + def tearDown(self): unload(TESTFN)