[Python-checkins] r45771 - python/trunk/Lib/test/regrtest.py
thomas.wouters
python-checkins at python.org
Fri Apr 28 01:41:28 CEST 2006
Author: thomas.wouters
Date: Fri Apr 28 01:41:27 2006
New Revision: 45771
Modified:
python/trunk/Lib/test/regrtest.py
Log:
Add more ignores of ImportWarnings; these are all just potential triggers
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)
Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py (original)
+++ python/trunk/Lib/test/regrtest.py Fri Apr 28 01:41:27 2006
@@ -140,7 +140,9 @@
# 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", "test.test_zipimport", "test.test_zlib"):
+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)
More information about the Python-checkins
mailing list