]> granicus.if.org Git - python/commitdiff
Add more ignores of ImportWarnings; these are all just potential triggers
authorThomas Wouters <thomas@python.org>
Thu, 27 Apr 2006 23:41:27 +0000 (23:41 +0000)
committerThomas Wouters <thomas@python.org>
Thu, 27 Apr 2006 23:41:27 +0000 (23:41 +0000)
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)

Lib/test/regrtest.py

index be06d9dad0c1aead7094b51eaf55bdbe1e8bdfd8..ce9ed2245e9c70300f95bd233dcc3172c8b6a12c 100755 (executable)
@@ -140,7 +140,9 @@ if sys.maxint > 0x7fffffff:
 
 # 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)