summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-11 20:04:12 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-11 20:04:12 (GMT)
commitb05cd496dfa11c8fa1c57723cdcae59021ac3cba (patch)
tree47c98d84d86d1f3666141a55d21575379353efe3
parent3c14efe69656b83615c393f822b7cfeb21fb3bab (diff)
downloadcpython-b05cd496dfa11c8fa1c57723cdcae59021ac3cba.zip
cpython-b05cd496dfa11c8fa1c57723cdcae59021ac3cba.tar.gz
cpython-b05cd496dfa11c8fa1c57723cdcae59021ac3cba.tar.bz2
Ignore more deprecation warnings.
-rw-r--r--Lib/test/test___all__.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 4a41036..299054f 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -1,5 +1,10 @@
from test_support import verify, verbose
import sys
+import warnings
+
+warnings.filterwarnings("ignore", ".* 'pre' .*", DeprecationWarning)
+warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning)
+warnings.filterwarnings("ignore", ".* statcache .*", DeprecationWarning)
def check_all(modname):
names = {}
@@ -110,7 +115,7 @@ check_all("popen2")
check_all("poplib")
check_all("posixpath")
check_all("pprint")
-check_all("pre")
+check_all("pre") # deprecated
check_all("profile")
check_all("pstats")
check_all("pty")
@@ -120,9 +125,6 @@ check_all("quopri")
check_all("random")
check_all("re")
check_all("reconvert")
-import warnings
-warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning, "regsub",
- append=1)
check_all("regsub")
check_all("repr")
check_all("rexec")