summaryrefslogtreecommitdiffstats
path: root/Lib/test/test___all__.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-16 01:27:44 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-16 01:27:44 (GMT)
commitd392506c43a48d570a09a15e7f1889873fe17d6c (patch)
tree83ceeade55a3a7b201f7bcafe3a0804b85ad3c3c /Lib/test/test___all__.py
parent50ac30ee0190ea2dd4ede87d63d6ebba23bd3a11 (diff)
downloadcpython-d392506c43a48d570a09a15e7f1889873fe17d6c.zip
cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.gz
cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.bz2
Tighten up some warning filters, and break some dependencies on the
order in which the tests are normally run.
Diffstat (limited to 'Lib/test/test___all__.py')
-rw-r--r--Lib/test/test___all__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 299054f..01c918c 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -2,9 +2,12 @@ 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)
+warnings.filterwarnings("ignore", ".* 'pre' .*", DeprecationWarning,
+ r'pre$')
+warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning,
+ r'^regsub$')
+warnings.filterwarnings("ignore", ".* statcache .*", DeprecationWarning,
+ r'statcache$')
def check_all(modname):
names = {}