source: trunk/essentials/dev-lang/python/Lib/test/test_sundry.py@ 3326

Last change on this file since 3326 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 1.5 KB
Line 
1"""Do a minimal test of all the modules that aren't otherwise tested."""
2
3import warnings
4warnings.filterwarnings('ignore', r".*posixfile module",
5 DeprecationWarning, 'posixfile$')
6
7warnings.filterwarnings("ignore",
8 "the gopherlib module is deprecated",
9 DeprecationWarning,
10 ".*test_sundry")
11
12from test.test_support import verbose
13
14import BaseHTTPServer
15import DocXMLRPCServer
16import CGIHTTPServer
17import SimpleHTTPServer
18import SimpleXMLRPCServer
19import aifc
20import audiodev
21import bdb
22import cgitb
23import cmd
24import code
25import compileall
26import encodings
27import formatter
28import ftplib
29import getpass
30import gopherlib
31import htmlentitydefs
32import ihooks
33import imghdr
34import imputil
35import keyword
36import linecache
37import macurl2path
38import mailcap
39import mimify
40import mutex
41import nntplib
42import nturl2path
43import opcode
44import os2emxpath
45import pdb
46import pipes
47#import poplib
48import posixfile
49import pstats
50import py_compile
51import pydoc
52import rexec
53import rlcompleter
54import sched
55import smtplib
56import sndhdr
57import statvfs
58import stringold
59import sunau
60import sunaudio
61import symbol
62import tabnanny
63import telnetlib
64import timeit
65import toaiff
66import token
67try:
68 import tty # not available on Windows
69except ImportError:
70 if verbose:
71 print "skipping tty"
72
73# Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
74# can screw up all sorts of things (esp. if it prints!).
75#import user
76import webbrowser
77import xml
Note: See TracBrowser for help on using the repository browser.