From 4d9b466ea585fec0785d04b86fd7bbbefde16539 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 16 Apr 2002 01:59:17 +0000 Subject: [PATCH] Fewer deprecation warnings. --- Lib/test/test_descr.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 872b7ece5d4..3e3424a7f41 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: