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
a3481e70
Commit
a3481e70
authored
Mar 23, 2012
by
Giampaolo Rodola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to fix asyncore buildbot failure
parent
c5d47d5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Lib/test/test_asyncore.py
Lib/test/test_asyncore.py
+7
-3
No files found.
Lib/test/test_asyncore.py
View file @
a3481e70
...
...
@@ -741,12 +741,16 @@ class BaseTestAPI(unittest.TestCase):
for
x
in
range
(
20
):
s
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
s
.
settimeout
(.
2
)
s
.
setsockopt
(
socket
.
SOL_SOCKET
,
socket
.
SO_LINGER
,
struct
.
pack
(
'ii'
,
1
,
0
))
try
:
s
.
connect
(
server
.
address
)
except
socket
.
error
:
pass
finally
:
s
.
close
()
class
TestAPI_UseSelect
(
BaseTestAPI
):
use_poll
=
False
...
...
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