]> granicus.if.org Git - python/commitdiff
Remove ImportWarnings filters. They become obsolete after r79310, issue #8205.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Fri, 23 Apr 2010 17:59:10 +0000 (17:59 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Fri, 23 Apr 2010 17:59:10 +0000 (17:59 +0000)
Lib/test/regrtest.py

index 50519bfd025fa932f6aca77d6ace933478ba16d5..e8dbe55a710b473830d3dd6fbe7b642a10bc9d45 100755 (executable)
@@ -181,14 +181,6 @@ for module in sys.modules.itervalues():
         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