mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fewer deprecation warnings.
This commit is contained in:
parent
d0cc4f0b49
commit
4d9b466ea5
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
from test_support import verify, vereq, verbose, TestFailed, TESTFN
|
||||
from copy import deepcopy
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore",
|
||||
r'complex divmod\(\), // and % are deprecated$',
|
||||
DeprecationWarning, r'(<string>|test_descr)$')
|
||||
|
||||
def veris(a, b):
|
||||
if a is not b:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue