From 46719af05af7bd016b186ddbad74cd4a22b4aeb1 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 21 Mar 2011 19:05:02 +0100 Subject: [PATCH] Try to make test_import a bit more robust --- Lib/test/test_import.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index cf17c9615d..95a5f48fce 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) -- 2.40.0