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
e82cdae5
Commit
e82cdae5
authored
Jan 15, 2009
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #4397. Fix occasional test_socket failure on OS X.
parent
8adc0b54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Lib/test/test_socket.py
Lib/test/test_socket.py
+4
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_socket.py
View file @
e82cdae5
...
...
@@ -584,6 +584,10 @@ class BasicTCPTest(SocketConnectedTest):
# Testing shutdown()
msg
=
self
.
cli_conn
.
recv
(
1024
)
self
.
assertEqual
(
msg
,
MSG
)
# wait for _testShutdown to finish: on OS X, when the server
# closes the connection the client also becomes disconnected,
# and the client's shutdown call will fail. (Issue #4937.)
self
.
done
.
wait
()
def
_testShutdown
(
self
):
self
.
serv_conn
.
send
(
MSG
)
...
...
Misc/NEWS
View file @
e82cdae5
...
...
@@ -357,6 +357,8 @@ C-API
Extension Modules
-----------------
- Issue #4937: Fix occasional test_socket failure on OS X.
- Issue #4279: Fix build of parsermodule under Cygwin.
- Issue #4051: Prevent conflict of UNICODE macros in cPickle.
...
...
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