blob: 533aedc5df687a864645646b3892d1cab1f9d5bf [file] [log] [blame]
Fred Draked74804d2001-01-22 19:38:37 +00001"""Do a minimal test of all the modules that aren't otherwise tested."""
Tim Petersd93c0b62001-01-19 05:41:36 +00002
Brett Cannon41bf2fa2007-05-20 23:57:38 +00003from test.test_support import guard_warnings_filter
Fred Drakeb1124812001-10-25 18:11:10 +00004import warnings
Fred Drakeb1124812001-10-25 18:11:10 +00005
Brett Cannon41bf2fa2007-05-20 23:57:38 +00006with guard_warnings_filter():
7 warnings.filterwarnings('ignore', r".*posixfile",
8 DeprecationWarning)
Brett Cannonc249bda2007-05-30 21:48:58 +00009 warnings.filterwarnings('ignore', r".*mimify", DeprecationWarning)
Tim Petersf87d8572001-01-23 09:50:30 +000010
Brett Cannon41bf2fa2007-05-20 23:57:38 +000011 from test.test_support import verbose
Tim Petersba8194b2006-04-13 03:09:40 +000012
Brett Cannon41bf2fa2007-05-20 23:57:38 +000013 import BaseHTTPServer
14 import DocXMLRPCServer
15 import CGIHTTPServer
16 import SimpleHTTPServer
17 import SimpleXMLRPCServer
18 import aifc
19 import audiodev
20 import bdb
21 import cgitb
22 import cmd
23 import code
24 import compileall
25 import encodings
26 import formatter
27 import ftplib
28 import getpass
29 import htmlentitydefs
30 import ihooks
31 import imghdr
32 import imputil
33 import keyword
34 import linecache
35 import macurl2path
36 import mailcap
37 import mimify
38 import mutex
39 import nntplib
40 import nturl2path
41 import opcode
42 import os2emxpath
43 import pdb
44 import pipes
45 #import poplib
46 import posixfile
47 import pstats
48 import py_compile
49 import pydoc
50 import rexec
51 import rlcompleter
52 import sched
53 import smtplib
54 import sndhdr
55 import statvfs
56 import stringold
57 import sunau
58 import sunaudio
59 import symbol
60 import tabnanny
61 import telnetlib
62 import timeit
63 import toaiff
64 import token
65 try:
66 import tty # not available on Windows
67 except ImportError:
68 if verbose:
69 print "skipping tty"
70
71 # Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
72 # can screw up all sorts of things (esp. if it prints!).
73 #import user
74 import webbrowser
75 import xml