Mailing List Archive

python/dist/src/Lib/test test___all__.py,1.22,1.23
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv22035/Lib/test

Modified Files:
test___all__.py
Log Message:
Ignore more deprecation warnings.


Index: test___all__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test___all__.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** test___all__.py 7 Dec 2001 21:35:42 -0000 1.22
--- test___all__.py 11 Apr 2002 20:04:12 -0000 1.23
***************
*** 1,4 ****
--- 1,9 ----
from test_support import verify, verbose
import sys
+ import warnings
+
+ warnings.filterwarnings("ignore", ".* 'pre' .*", DeprecationWarning)
+ warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning)
+ warnings.filterwarnings("ignore", ".* statcache .*", DeprecationWarning)

def check_all(modname):
***************
*** 111,115 ****
check_all("posixpath")
check_all("pprint")
! check_all("pre")
check_all("profile")
check_all("pstats")
--- 116,120 ----
check_all("posixpath")
check_all("pprint")
! check_all("pre") # deprecated
check_all("profile")
check_all("pstats")
***************
*** 121,127 ****
check_all("re")
check_all("reconvert")
- import warnings
- warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning, "regsub",
- append=1)
check_all("regsub")
check_all("repr")
--- 126,129 ----