equal
deleted
inserted
replaced
|
1 """Do a minimal test of all the modules that aren't otherwise tested.""" |
|
2 |
|
3 import warnings |
|
4 warnings.filterwarnings('ignore', r".*posixfile module", |
|
5 DeprecationWarning, 'posixfile$') |
|
6 |
|
7 warnings.filterwarnings("ignore", |
|
8 "the gopherlib module is deprecated", |
|
9 DeprecationWarning, |
|
10 ".*test_sundry") |
|
11 |
|
12 from test.test_support import verbose |
|
13 |
|
14 import BaseHTTPServer |
|
15 import DocXMLRPCServer |
|
16 import CGIHTTPServer |
|
17 import SimpleHTTPServer |
|
18 import SimpleXMLRPCServer |
|
19 import aifc |
|
20 import audiodev |
|
21 import bdb |
|
22 import cgitb |
|
23 import cmd |
|
24 import code |
|
25 import compileall |
|
26 import encodings |
|
27 import formatter |
|
28 import ftplib |
|
29 import getpass |
|
30 import gopherlib |
|
31 import htmlentitydefs |
|
32 import ihooks |
|
33 import imghdr |
|
34 import imputil |
|
35 import keyword |
|
36 import linecache |
|
37 import macurl2path |
|
38 import mailcap |
|
39 import mimify |
|
40 import mutex |
|
41 import nntplib |
|
42 import nturl2path |
|
43 import opcode |
|
44 import os2emxpath |
|
45 import pdb |
|
46 import pipes |
|
47 #import poplib |
|
48 import posixfile |
|
49 import pstats |
|
50 import py_compile |
|
51 import pydoc |
|
52 import rexec |
|
53 import rlcompleter |
|
54 import sched |
|
55 import smtplib |
|
56 import sndhdr |
|
57 import statvfs |
|
58 import stringold |
|
59 import sunau |
|
60 import sunaudio |
|
61 import symbol |
|
62 import tabnanny |
|
63 import telnetlib |
|
64 import timeit |
|
65 import toaiff |
|
66 import token |
|
67 try: |
|
68 import tty # not available on Windows |
|
69 except 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 |
|
76 import webbrowser |
|
77 import xml |