mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +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,6 +1,7 @@
|
|||
import warnings
|
||||
warnings.filterwarnings("ignore", "", DeprecationWarning, __name__)
|
||||
warnings.filterwarnings("ignore", "", DeprecationWarning, "unittest")
|
||||
warnings.filterwarnings("ignore", "strop functions are obsolete;",
|
||||
DeprecationWarning,
|
||||
r'test_strop|unittest')
|
||||
import strop
|
||||
import test_support
|
||||
import unittest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue