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