mirror of https://github.com/python/cpython
Update test_sundry. Many modules have now tests, but
e.g. SimpleXMLRPCServer wasn't in here yet.
This commit is contained in:
parent
f7c6290ca4
commit
f69a24c6ac
|
@ -12,74 +12,50 @@ warnings.filterwarnings("ignore",
|
||||||
from test.test_support import verbose
|
from test.test_support import verbose
|
||||||
|
|
||||||
import BaseHTTPServer
|
import BaseHTTPServer
|
||||||
|
import DocXMLRPCServer
|
||||||
import CGIHTTPServer
|
import CGIHTTPServer
|
||||||
import Queue
|
|
||||||
import SimpleHTTPServer
|
import SimpleHTTPServer
|
||||||
import SocketServer
|
import SimpleXMLRPCServer
|
||||||
import aifc
|
import aifc
|
||||||
import anydbm
|
|
||||||
import audiodev
|
import audiodev
|
||||||
import bdb
|
import bdb
|
||||||
|
import cgitb
|
||||||
import cmd
|
import cmd
|
||||||
import code
|
import code
|
||||||
import codeop
|
|
||||||
import colorsys
|
|
||||||
import commands
|
|
||||||
import compileall
|
import compileall
|
||||||
try:
|
|
||||||
import curses # not available on Windows
|
|
||||||
except ImportError:
|
|
||||||
if verbose:
|
|
||||||
print "skipping curses"
|
|
||||||
import dircache
|
|
||||||
import dis
|
|
||||||
import distutils
|
|
||||||
import doctest
|
|
||||||
import dumbdbm
|
|
||||||
import encodings
|
import encodings
|
||||||
import fnmatch
|
|
||||||
import formatter
|
import formatter
|
||||||
import fpformat
|
|
||||||
import ftplib
|
import ftplib
|
||||||
import getpass
|
import getpass
|
||||||
import glob
|
|
||||||
import gopherlib
|
import gopherlib
|
||||||
import htmlentitydefs
|
import htmlentitydefs
|
||||||
import htmllib
|
import ihooks
|
||||||
import httplib
|
|
||||||
import imaplib
|
|
||||||
import imghdr
|
import imghdr
|
||||||
import imputil
|
import imputil
|
||||||
import keyword
|
import keyword
|
||||||
import macpath
|
import linecache
|
||||||
import macurl2path
|
import macurl2path
|
||||||
import mailcap
|
import mailcap
|
||||||
import mhlib
|
|
||||||
import mimetypes
|
|
||||||
import mimify
|
import mimify
|
||||||
import multifile
|
|
||||||
import mutex
|
import mutex
|
||||||
import nntplib
|
import nntplib
|
||||||
import nturl2path
|
import nturl2path
|
||||||
|
import opcode
|
||||||
|
import os2emxpath
|
||||||
import pdb
|
import pdb
|
||||||
import pipes
|
import pipes
|
||||||
#import poplib
|
#import poplib
|
||||||
import posixfile
|
import posixfile
|
||||||
import profile
|
|
||||||
import pstats
|
import pstats
|
||||||
import py_compile
|
import py_compile
|
||||||
import repr
|
import pydoc
|
||||||
|
import rexec
|
||||||
try:
|
try:
|
||||||
import rlcompleter # not available on Windows
|
import rlcompleter # not available on Windows
|
||||||
except ImportError:
|
except ImportError:
|
||||||
if verbose:
|
if verbose:
|
||||||
print "skipping rlcompleter"
|
print "skipping rlcompleter"
|
||||||
import robotparser
|
|
||||||
import sched
|
import sched
|
||||||
import sgmllib
|
|
||||||
import shelve
|
|
||||||
import shlex
|
|
||||||
import shutil
|
|
||||||
import smtplib
|
import smtplib
|
||||||
import sndhdr
|
import sndhdr
|
||||||
import statvfs
|
import statvfs
|
||||||
|
@ -89,12 +65,12 @@ import sunaudio
|
||||||
import symbol
|
import symbol
|
||||||
import tabnanny
|
import tabnanny
|
||||||
import telnetlib
|
import telnetlib
|
||||||
import test
|
import timeit
|
||||||
import toaiff
|
import toaiff
|
||||||
import urllib2
|
import token
|
||||||
|
import tty
|
||||||
# Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
|
# 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!).
|
# can screw up all sorts of things (esp. if it prints!).
|
||||||
#import user
|
#import user
|
||||||
import webbrowser
|
import webbrowser
|
||||||
import whichdb
|
|
||||||
import xml
|
import xml
|
||||||
|
|
Loading…
Reference in New Issue