summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
blob: eb4149f916f811a3a98803db6997c919c4c0ecfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Do a minimal test of all the modules that aren't otherwise tested."""

from test.test_support import guard_warnings_filter
import warnings

with guard_warnings_filter():
    warnings.filterwarnings('ignore', r".*posixfile",
                            DeprecationWarning)

    from test.test_support import verbose

    import BaseHTTPServer
    import DocXMLRPCServer
    import CGIHTTPServer
    import SimpleHTTPServer
    import SimpleXMLRPCServer
    import aifc
    import audiodev
    import bdb
    import cgitb
    import cmd
    import code
    import compileall
    import encodings
    import formatter
    import ftplib
    import getpass
    import htmlentitydefs
    import ihooks
    import imghdr
    import imputil
    import keyword
    import linecache
    import macurl2path
    import mailcap
    import mimify
    import mutex
    import nntplib
    import nturl2path
    import opcode
    import os2emxpath
    import pdb
    import pipes
    #import poplib
    import posixfile
    import pstats
    import py_compile
    import pydoc
    import rlcompleter
    import sched
    import smtplib
    import sndhdr
    import statvfs
    import sunau
    import sunaudio
    import symbol
    import tabnanny
    import telnetlib
    import timeit
    import toaiff
    import token
    try:
        import tty     # not available on Windows
    except ImportError:
        if verbose:
            print("skipping tty")

    # 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
    import webbrowser
    import xml