[Python-checkins] cpython (merge 3.2 -> default): Try to make test_import a bit more robust

antoine.pitrou python-checkins at python.org
Mon Mar 21 19:05:32 CET 2011


http://hg.python.org/cpython/rev/b1582927dc54
changeset: 68813:b1582927dc54
parent: 68811:d372fb6e0075
parent: 68812:c527ce78ba0c
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Mar 21 19:05:18 2011 +0100
summary:
 Try to make test_import a bit more robust
files:
 Lib/test/test_import.py
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -30,6 +30,9 @@
 
 class ImportTests(unittest.TestCase):
 
+ def setUp(self):
+ remove_files(TESTFN)
+
 def tearDown(self):
 unload(TESTFN)
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /