[Python-checkins] python/dist/src/Lib/test test_cgi.py,1.8,1.9

anthonybaxter at users.sourceforge.net anthonybaxter at users.sourceforge.net
Tue Aug 3 13:05:06 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27271/Lib/test

Modified Files:
	test_cgi.py 
Log Message:
Removed use of 'cgi.initlog()' - the first call to cgi.log is actually
an initlog() (and initlog()'s docstring says "don't use this"!) This 
allows test_cgi to be run repeatedly in a single run of the interpreter.


Index: test_cgi.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cgi.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_cgi.py	19 Jul 2004 15:37:40 -0000	1.8
--- test_cgi.py	3 Aug 2004 11:05:04 -0000	1.9
***************
*** 194,198 ****
  
      print "Testing log"
-     cgi.initlog()
      cgi.log("Testing")
      cgi.logfp = sys.stdout
--- 194,197 ----



More information about the Python-checkins mailing list