[Python-checkins] python/dist/src/Lib/test test_pyclbr.py,1.15,1.16

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sun, 29 Dec 2002 23:04:49 -0800


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

Modified Files:
	test_pyclbr.py 
Log Message:
Restore the test of the random module after including "Random" in the
ignore tuple.  

The line, "from _random import Random as CoreGenerator", fools the test 
code which expects CoreGenerator.__name__ to be "CoreGenerator" instead 
of "Random".


Index: test_pyclbr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pyclbr.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** test_pyclbr.py	30 Dec 2002 03:01:25 -0000	1.15
--- test_pyclbr.py	30 Dec 2002 07:04:47 -0000	1.16
***************
*** 144,148 ****
  
          # These were once about the 10 longest modules
!         ## cm('random') # This test crashes (probably due to the "import as").
          cm('cgi', ignore=('log',))      # set with = in module
          cm('mhlib')
--- 144,148 ----
  
          # These were once about the 10 longest modules
!         cm('random', ignore=('Random'))  # from _random import Random as CoreGenerator
          cm('cgi', ignore=('log',))      # set with = in module
          cm('mhlib')