summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-16 01:59:17 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-16 01:59:17 (GMT)
commit4d9b466ea585fec0785d04b86fd7bbbefde16539 (patch)
treeda45254292c17c3592f2aa8607efb904ae6ac6d2 /Lib
parentd0cc4f0b49d4b9a4eff46741ffbaeb34cbe0fc6b (diff)
downloadcpython-4d9b466ea585fec0785d04b86fd7bbbefde16539.zip
cpython-4d9b466ea585fec0785d04b86fd7bbbefde16539.tar.gz
cpython-4d9b466ea585fec0785d04b86fd7bbbefde16539.tar.bz2
Fewer deprecation warnings.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descr.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 872b7ec..3e3424a 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'(<string>|test_descr)$')
def veris(a, b):
if a is not b: