diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-16 01:27:44 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-16 01:27:44 (GMT) |
commit | d392506c43a48d570a09a15e7f1889873fe17d6c (patch) | |
tree | 83ceeade55a3a7b201f7bcafe3a0804b85ad3c3c /Lib/test/test_sundry.py | |
parent | 50ac30ee0190ea2dd4ede87d63d6ebba23bd3a11 (diff) | |
download | cpython-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_sundry.py')
-rw-r--r-- | Lib/test/test_sundry.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index 86c7f7a..bd33b82 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -1,7 +1,12 @@ """Do a minimal test of all the modules that aren't otherwise tested.""" import warnings -warnings.filterwarnings('ignore', '', DeprecationWarning, 'posixfile') +warnings.filterwarnings('ignore', r".*posixfile module", + DeprecationWarning, 'posixfile$') +warnings.filterwarnings('ignore', r".*statcache module", + DeprecationWarning, 'statcache$') +warnings.filterwarnings('ignore', r".*'re' module", + DeprecationWarning, 'pre$') from test_support import verbose |