2001-01-22 15:38:37 -04:00
|
|
|
"""Do a minimal test of all the modules that aren't otherwise tested."""
|
2001-01-19 01:41:36 -04:00
|
|
|
|
2001-10-25 15:11:10 -03:00
|
|
|
import warnings
|
2002-04-15 22:27:44 -03:00
|
|
|
warnings.filterwarnings('ignore', r".*posixfile module",
|
|
|
|
DeprecationWarning, 'posixfile$')
|
2001-10-25 15:11:10 -03:00
|
|
|
|
2006-02-18 00:14:16 -04:00
|
|
|
warnings.filterwarnings("ignore",
|
|
|
|
"the gopherlib module is deprecated",
|
|
|
|
DeprecationWarning,
|
|
|
|
".*test_sundry")
|
|
|
|
|
2002-07-23 16:04:11 -03:00
|
|
|
from test.test_support import verbose
|
2001-01-23 05:50:30 -04:00
|
|
|
|
2001-01-19 01:41:36 -04:00
|
|
|
import BaseHTTPServer
|
2006-04-12 09:44:36 -03:00
|
|
|
import DocXMLRPCServer
|
2001-01-19 01:41:36 -04:00
|
|
|
import CGIHTTPServer
|
|
|
|
import SimpleHTTPServer
|
2006-04-12 09:44:36 -03:00
|
|
|
import SimpleXMLRPCServer
|
2001-01-19 01:41:36 -04:00
|
|
|
import aifc
|
|
|
|
import audiodev
|
|
|
|
import bdb
|
2006-04-12 09:44:36 -03:00
|
|
|
import cgitb
|
2001-01-19 01:41:36 -04:00
|
|
|
import cmd
|
|
|
|
import code
|
|
|
|
import compileall
|
|
|
|
import encodings
|
|
|
|
import formatter
|
|
|
|
import ftplib
|
|
|
|
import getpass
|
|
|
|
import gopherlib
|
|
|
|
import htmlentitydefs
|
2006-04-12 09:44:36 -03:00
|
|
|
import ihooks
|
2001-01-19 01:41:36 -04:00
|
|
|
import imghdr
|
|
|
|
import imputil
|
|
|
|
import keyword
|
2006-04-12 09:44:36 -03:00
|
|
|
import linecache
|
2001-01-19 01:41:36 -04:00
|
|
|
import macurl2path
|
|
|
|
import mailcap
|
|
|
|
import mimify
|
|
|
|
import mutex
|
|
|
|
import nntplib
|
|
|
|
import nturl2path
|
2006-04-12 09:44:36 -03:00
|
|
|
import opcode
|
|
|
|
import os2emxpath
|
2001-01-19 01:41:36 -04:00
|
|
|
import pdb
|
|
|
|
import pipes
|
|
|
|
#import poplib
|
|
|
|
import posixfile
|
|
|
|
import pstats
|
|
|
|
import py_compile
|
2006-04-12 09:44:36 -03:00
|
|
|
import pydoc
|
|
|
|
import rexec
|
2001-01-23 05:50:30 -04:00
|
|
|
try:
|
|
|
|
import rlcompleter # not available on Windows
|
|
|
|
except ImportError:
|
|
|
|
if verbose:
|
|
|
|
print "skipping rlcompleter"
|
2001-01-19 01:41:36 -04:00
|
|
|
import sched
|
|
|
|
import smtplib
|
|
|
|
import sndhdr
|
|
|
|
import statvfs
|
|
|
|
import stringold
|
|
|
|
import sunau
|
|
|
|
import sunaudio
|
|
|
|
import symbol
|
|
|
|
import tabnanny
|
|
|
|
import telnetlib
|
2006-04-12 09:44:36 -03:00
|
|
|
import timeit
|
2001-01-19 01:41:36 -04:00
|
|
|
import toaiff
|
2006-04-12 09:44:36 -03:00
|
|
|
import token
|
2006-04-13 00:09:40 -03:00
|
|
|
try:
|
|
|
|
import tty # not available on Windows
|
|
|
|
except ImportError:
|
|
|
|
if verbose:
|
|
|
|
print "skipping tty"
|
|
|
|
|
2001-01-23 05:50:30 -04:00
|
|
|
# Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
|
|
|
|
# can screw up all sorts of things (esp. if it prints!).
|
|
|
|
#import user
|
2001-01-19 01:41:36 -04:00
|
|
|
import webbrowser
|
|
|
|
import xml
|