From: Anthony Baxter Date: Tue, 3 Aug 2004 11:05:04 +0000 (+0000) Subject: Removed use of 'cgi.initlog()' - the first call to cgi.log is actually X-Git-Tag: v2.4a2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2717217ae7403dc1cc51aea1fe8a7736612392a;p=python 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. --- diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 5ecaf7f120..130b19d969 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -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")