[Python-checkins] r80411 - python/trunk/Lib/test/regrtest.py

florent.xicluna python-checkins at python.org
Fri Apr 23 19:59:16 CEST 2010


Author: florent.xicluna
Date: Fri Apr 23 19:59:10 2010
New Revision: 80411

Log:
Remove ImportWarnings filters.  They become obsolete after r79310, issue #8205.


Modified:
   python/trunk/Lib/test/regrtest.py

Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Fri Apr 23 19:59:10 2010
@@ -181,14 +181,6 @@
         module.__file__ = os.path.abspath(module.__file__)
 
 
-# Ignore ImportWarnings that only occur in the source tree,
-# (because of modules with the same name as source-directories in Modules/)
-for mod in ("ctypes", "gzip", "zipfile", "tarfile", "encodings.zlib_codec",
-            "test.test_zipimport", "test.test_zlib", "test.test_zipfile",
-            "test.test_codecs", "test.string_tests"):
-    warnings.filterwarnings(module=".*%s$" % (mod,),
-                            action="ignore", category=ImportWarning)
-
 # MacOSX (a.k.a. Darwin) has a default stack size that is too small
 # for deeply recursive regular expressions.  We see this as crashes in
 # the Python test suite when running test_re.py and test_sre.py.  The


More information about the Python-checkins mailing list