[Python-checkins] python/dist/src/Lib/test test_descr.py,1.135,1.136
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 03 Jun 2002 12:45:34 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv19356
Modified Files:
test_descr.py
Log Message:
The warning filter was ineffective when this module was invoked as a
script.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.135
retrieving revision 1.136
diff -C2 -d -r1.135 -r1.136
*** test_descr.py 24 May 2002 21:40:08 -0000 1.135
--- test_descr.py 3 Jun 2002 19:45:32 -0000 1.136
***************
*** 7,11 ****
warnings.filterwarnings("ignore",
r'complex divmod\(\), // and % are deprecated$',
! DeprecationWarning, r'(<string>|test_descr)$')
def veris(a, b):
--- 7,11 ----
warnings.filterwarnings("ignore",
r'complex divmod\(\), // and % are deprecated$',
! DeprecationWarning, r'(<string>|%s)$' % __name__)
def veris(a, b):