summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-08-03 11:05:04 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2004-08-03 11:05:04 (GMT)
commitd2717217ae7403dc1cc51aea1fe8a7736612392a (patch)
treeb9732a2355aa5b772e29e8036a648837cdaef807 /Lib/test
parentfcc09bbad6b51a785c55ebccc0c4817cf111bf50 (diff)
downloadcpython-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')
-rw-r--r--Lib/test/test_cgi.py1
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")