From: Tim Peters Date: Tue, 16 Apr 2002 01:59:17 +0000 (+0000) Subject: Fewer deprecation warnings. X-Git-Tag: v2.3c1~5928 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d9b466ea585fec0785d04b86fd7bbbefde16539;p=thirdparty%2FPython%2Fcpython.git Fewer deprecation warnings. --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 872b7ece5d46..3e3424a7f412 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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'(|test_descr)$') def veris(a, b): if a is not b: