mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
Merged revisions 88496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88496 | brett.cannon | 2011-02-21 19:14:12 -0800 (Mon, 21 Feb 2011) | 4 lines Issue #10512: close the log file in cgi when running tests. Thanks to Nadeem Vawda for the find and an initial fix. ........
This commit is contained in:
parent
d8b64788ce
commit
64c9af1508
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ class CgiTests(unittest.TestCase):
|
|||
cgi.logfp = None
|
||||
cgi.logfile = "/dev/null"
|
||||
cgi.initlog("%s", "Testing log 3")
|
||||
self.addCleanup(cgi.logfp.close)
|
||||
cgi.log("Testing log 4")
|
||||
|
||||
def test_fieldstorage_readline(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue