mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue