From: Fred Drake Date: Mon, 22 Jan 2001 19:38:37 +0000 (+0000) Subject: The "user" module cannot reasonably be tested. Moved to the end (and X-Git-Tag: v2.1a1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d74804db417be16720a5f66bdc9020dd7dd999ac;p=python The "user" module cannot reasonably be tested. Moved to the end (and commented it out), and added an explanation as to *why*. Added period to docstring. --- diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index 485a691aff..a2843a7fc7 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -1,4 +1,4 @@ -"""Do a minimal test of all the modules that aren't otherwise tested""" +"""Do a minimal test of all the modules that aren't otherwise tested.""" import BaseHTTPServer import CGIHTTPServer @@ -85,9 +85,13 @@ import test import toaiff #import tzparse import urllib2 -import user import uu import webbrowser import whichdb import xdrlib import xml + +# 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