summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-04-23 17:59:10 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-04-23 17:59:10 (GMT)
commit64f6c2fcabab1b953f4decdc0c0c05a0ebe45c22 (patch)
tree040592727c3760212c814d47322ead74586dc1a2
parent04f4347de0f11b7e7a6097ccdbe4dce0b2cf3715 (diff)
downloadcpython-64f6c2fcabab1b953f4decdc0c0c05a0ebe45c22.zip
cpython-64f6c2fcabab1b953f4decdc0c0c05a0ebe45c22.tar.gz
cpython-64f6c2fcabab1b953f4decdc0c0c05a0ebe45c22.tar.bz2
Remove ImportWarnings filters. They become obsolete after r79310, issue #8205.
-rwxr-xr-xLib/test/regrtest.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 50519bf..e8dbe55 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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