Fewer deprecation warnings.

This commit is contained in:
Tim Peters 2002-04-16 01:59:17 +00:00
parent d0cc4f0b49
commit 4d9b466ea5
1 changed files with 5 additions and 0 deletions

View File

@ -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: