mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
fcc09bbad6
commit
d2717217ae
|
@ -193,7 +193,6 @@ def main():
|
|||
verify(norm(expect.values()) == norm(d.values()))
|
||||
|
||||
print "Testing log"
|
||||
cgi.initlog()
|
||||
cgi.log("Testing")
|
||||
cgi.logfp = sys.stdout
|
||||
cgi.initlog("%s", "Testing initlog 1")
|
||||
|
|
Loading…
Reference in New Issue