[Python-checkins] CVS: python/dist/src/Lib/test test_sundry.py,1.1,1.2

Fred L. Drake fdrake@users.sourceforge.net
Mon, 22 Jan 2001 11:38:40 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv1603/test

Modified Files:
	test_sundry.py 
Log Message:

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.


Index: test_sundry.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_sundry.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_sundry.py	2001/01/19 05:41:35	1.1
--- test_sundry.py	2001/01/22 19:38:37	1.2
***************
*** 1,3 ****
! """Do a minimal test of all the modules that aren't otherwise tested"""
  
  import BaseHTTPServer
--- 1,3 ----
! """Do a minimal test of all the modules that aren't otherwise tested."""
  
  import BaseHTTPServer
***************
*** 86,90 ****
  #import tzparse
  import urllib2
- import user
  import uu
  import webbrowser
--- 86,89 ----
***************
*** 92,93 ****
--- 91,97 ----
  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