summaryrefslogtreecommitdiff
path: root/sys/lib/python/test/test_sundry.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-05-03 11:25:13 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-05-03 11:25:13 +0000
commit458120dd40db6b4df55a4e96b650e16798ef06a0 (patch)
tree8f82685be24fef97e715c6f5ca4c68d34d5074ee /sys/lib/python/test/test_sundry.py
parent3a742c699f6806c1145aea5149bf15de15a0afd7 (diff)
add hg and python
Diffstat (limited to 'sys/lib/python/test/test_sundry.py')
-rw-r--r--sys/lib/python/test/test_sundry.py77
1 files changed, 77 insertions, 0 deletions
diff --git a/sys/lib/python/test/test_sundry.py b/sys/lib/python/test/test_sundry.py
new file mode 100644
index 000000000..f19467c76
--- /dev/null
+++ b/sys/lib/python/test/test_sundry.py
@@ -0,0 +1,77 @@
+"""Do a minimal test of all the modules that aren't otherwise tested."""
+
+import warnings
+warnings.filterwarnings('ignore', r".*posixfile module",
+ DeprecationWarning, 'posixfile$')
+
+warnings.filterwarnings("ignore",
+ "the gopherlib module is deprecated",
+ DeprecationWarning,
+ ".*test_sundry")
+
+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 gopherlib
+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 rexec
+import rlcompleter
+import sched
+import smtplib
+import sndhdr
+import statvfs
+import stringold
+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