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
|
|
|
|
import CGIHTTPServer
|
|
|
|
import Queue
|
|
|
|
import SimpleHTTPServer
|
|
|
|
import SocketServer
|
|
|
|
import aifc
|
|
|
|
import anydbm
|
|
|
|
import audiodev
|
|
|
|
import bdb
|
|
|
|
import cmd
|
|
|
|
import code
|
|
|
|
import codeop
|
|
|
|
import colorsys
|
|
|
|
import commands
|
|
|
|
import compileall
|
2001-01-23 05:50:30 -04:00
|
|
|
try:
|
|
|
|
import curses # not available on Windows
|
|
|
|
except ImportError:
|
|
|
|
if verbose:
|
|
|
|
print "skipping curses"
|
2001-01-19 01:41:36 -04:00
|
|
|
import dircache
|
|
|
|
import dis
|
|
|
|
import distutils
|
|
|
|
import doctest
|
|
|
|
import dumbdbm
|
|
|
|
import encodings
|
|
|
|
import fnmatch
|
|
|
|
import formatter
|
|
|
|
import fpformat
|
|
|
|
import ftplib
|
|
|
|
import getpass
|
|
|
|
import glob
|
|
|
|
import gopherlib
|
|
|
|
import htmlentitydefs
|
|
|
|
import htmllib
|
|
|
|
import httplib
|
|
|
|
import imaplib
|
|
|
|
import imghdr
|
|
|
|
import imputil
|
|
|
|
import keyword
|
|
|
|
import macpath
|
|
|
|
import macurl2path
|
|
|
|
import mailcap
|
|
|
|
import mhlib
|
|
|
|
import mimetypes
|
|
|
|
import mimify
|
|
|
|
import multifile
|
|
|
|
import mutex
|
|
|
|
import nntplib
|
|
|
|
import nturl2path
|
|
|
|
import pdb
|
|
|
|
import pipes
|
|
|
|
#import poplib
|
|
|
|
import posixfile
|
|
|
|
import profile
|
|
|
|
import pstats
|
|
|
|
import py_compile
|
|
|
|
#import reconvert
|
|
|
|
import repr
|
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 robotparser
|
|
|
|
import sched
|
|
|
|
import sgmllib
|
|
|
|
import shelve
|
|
|
|
import shlex
|
|
|
|
import shutil
|
|
|
|
import smtplib
|
|
|
|
import sndhdr
|
|
|
|
import statvfs
|
|
|
|
import stringold
|
|
|
|
import sunau
|
|
|
|
import sunaudio
|
|
|
|
import symbol
|
|
|
|
import tabnanny
|
|
|
|
import telnetlib
|
|
|
|
import test
|
|
|
|
import toaiff
|
|
|
|
import urllib2
|
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 whichdb
|
|
|
|
import xml
|