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

Tim Peters tim_one@users.sourceforge.net
Tue, 23 Jan 2001 01:50:33 -0800


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

Modified Files:
	test_sundry.py 
Log Message:
Restore alphabetic order.  Also try to import rlcompleter and curses, but
don't fail if they're not available.


Index: test_sundry.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_sundry.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_sundry.py	2001/01/22 19:38:37	1.2
--- test_sundry.py	2001/01/23 09:50:30	1.3
***************
*** 1,4 ****
--- 1,6 ----
  """Do a minimal test of all the modules that aren't otherwise tested."""
  
+ from test_support import verbose
+ 
  import BaseHTTPServer
  import CGIHTTPServer
***************
*** 18,22 ****
  import commands
  import compileall
! #import curses
  import dbhash
  import dircache
--- 20,28 ----
  import commands
  import compileall
! try:
!     import curses   # not available on Windows
! except ImportError:
!     if verbose:
!         print "skipping curses"
  import dbhash
  import dircache
***************
*** 65,69 ****
  #import reconvert
  import repr
! #import rlcompleter
  import robotparser
  import sched
--- 71,79 ----
  #import reconvert
  import repr
! try:
!     import rlcompleter   # not available on Windows
! except ImportError:
!     if verbose:
!         print "skipping rlcompleter"
  import robotparser
  import sched
***************
*** 86,89 ****
--- 96,102 ----
  #import tzparse
  import urllib2
+ # 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 uu
  import webbrowser
***************
*** 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
--- 104,105 ----