diff options
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 |