0001 """Do a minimal test of all the modules that aren't otherwise tested.""" 0002 0003 import warnings 0004 warnings.filterwarnings('ignore', r".*posixfile module", 0005 DeprecationWarning, 'posixfile$') 0006 warnings.filterwarnings('ignore', r".*statcache module", 0007 DeprecationWarning, 'statcache$') 0008 0009 from test.test_support import verbose 0010 0011 import BaseHTTPServer 0012 import CGIHTTPServer 0013 import Queue 0014 import SimpleHTTPServer 0015 import SocketServer 0016 import aifc 0017 import anydbm 0018 import audiodev 0019 import bdb 0020 import cmd 0021 import code 0022 import codeop 0023 import colorsys 0024 import commands 0025 import compileall 0026 try: 0027 import curses # not available on Windows 0028 except ImportError: 0029 if verbose: 0030 print "skipping curses" 0031 import dircache 0032 import dis 0033 import distutils 0034 import doctest 0035 import dumbdbm 0036 import encodings 0037 import fnmatch 0038 import formatter 0039 import fpformat 0040 import ftplib 0041 import getpass 0042 import glob 0043 import gopherlib 0044 import htmlentitydefs 0045 import htmllib 0046 import httplib 0047 import imaplib 0048 import imghdr 0049 import imputil 0050 import keyword 0051 import macpath 0052 import macurl2path 0053 import mailcap 0054 import mhlib 0055 import mimetypes 0056 import mimify 0057 import multifile 0058 import mutex 0059 import nntplib 0060 import nturl2path 0061 import pdb 0062 import pipes 0063 #import poplib 0064 import posixfile 0065 import profile 0066 import pstats 0067 import py_compile 0068 #import reconvert 0069 import repr 0070 try: 0071 import rlcompleter # not available on Windows 0072 except ImportError: 0073 if verbose: 0074 print "skipping rlcompleter" 0075 import robotparser 0076 import sched 0077 import sgmllib 0078 import shelve 0079 import shlex 0080 import shutil 0081 import smtplib 0082 import sndhdr 0083 import statcache 0084 import statvfs 0085 import stringold 0086 import sunau 0087 import sunaudio 0088 import symbol 0089 import tabnanny 0090 import telnetlib 0091 import test 0092 import toaiff 0093 #import tzparse 0094 import urllib2 0095 # Can't test the "user" module -- if the user has a ~/.pythonrc.py, it 0096 # can screw up all sorts of things (esp. if it prints!). 0097 #import user 0098 import webbrowser 0099 import whichdb 0100 import xdrlib 0101 import xml 0102
Generated by PyXR 0.9.4