Fewer deprecation warnings.
This commit is contained in:
parent
d0cc4f0b49
commit
4d9b466ea5
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
from test_support import verify, vereq, verbose, TestFailed, TESTFN
|
from test_support import verify, vereq, verbose, TestFailed, TESTFN
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
warnings.filterwarnings("ignore",
|
||||||
|
r'complex divmod\(\), // and % are deprecated$',
|
||||||
|
DeprecationWarning, r'(<string>|test_descr)$')
|
||||||
|
|
||||||
def veris(a, b):
|
def veris(a, b):
|
||||||
if a is not b:
|
if a is not b:
|
||||||
|
|
Loading…
Reference in New Issue