[Python-checkins] python/dist/src/Lib/test test_descr.py,1.129,1.130
tim_one@sourceforge.net
tim_one@sourceforge.net
Mon, 15 Apr 2002 18:59:20 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv2166/python/Lib/test
Modified Files:
test_descr.py
Log Message:
Fewer deprecation warnings.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.129
retrieving revision 1.130
diff -C2 -d -r1.129 -r1.130
*** test_descr.py 15 Apr 2002 01:03:30 -0000 1.129
--- test_descr.py 16 Apr 2002 01:59:17 -0000 1.130
***************
*** 3,6 ****
--- 3,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):