Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eeb114b0
Commit
eeb114b0
authored
Feb 22, 2011
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10512: close the log file in cgi when running tests.
Thanks to Nadeem Vawda for the find and an initial fix.
parent
7a54073a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Lib/test/test_cgi.py
Lib/test/test_cgi.py
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_cgi.py
View file @
eeb114b0
...
...
@@ -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
):
...
...
Misc/NEWS
View file @
eeb114b0
...
...
@@ -54,6 +54,8 @@ Build
Tests
-----
- Issue #10512: Properly close sockets under test.test_cgi.
- Issue #10992: Make tests pass under coverage.
- Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment