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):
names = {}
check_all("poplib")
check_all("posixpath")
check_all("pprint")
-check_all("pre")
+check_all("pre") # deprecated
check_all("profile")
check_all("pstats")
check_all("pty")
check_all("random")
check_all("re")
check_all("reconvert")
-import warnings
-warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning, "regsub",
- append=1)
check_all("regsub")
check_all("repr")
check_all("rexec")