mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Tighten up some warning filters, and break some dependencies on the
order in which the tests are normally run.
This commit is contained in:
parent
50ac30ee01
commit
d392506c43
9 changed files with 34 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue