diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-03 11:05:04 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-03 11:05:04 (GMT) |
commit | d2717217ae7403dc1cc51aea1fe8a7736612392a (patch) | |
tree | b9732a2355aa5b772e29e8036a648837cdaef807 /Lib/test/test_cgi.py | |
parent | fcc09bbad6b51a785c55ebccc0c4817cf111bf50 (diff) | |
download | cpython-d2717217ae7403dc1cc51aea1fe8a7736612392a.zip cpython-d2717217ae7403dc1cc51aea1fe8a7736612392a.tar.gz cpython-d2717217ae7403dc1cc51aea1fe8a7736612392a.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_cgi.py')
-rw-r--r-- | Lib/test/test_cgi.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 5ecaf7f..130b19d 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") |