Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 3 Lib/test/test_asyncore.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,9 @@ def test_quick_connect(self):
self.skipTest("test specific to AF_INET and AF_INET6")

server = BaseServer(self.family, self.addr)
# run the thread 500 ms: the socket should be connected in 200 ms
t = threading.Thread(target=lambda: asyncore.loop(timeout=0.1,
count=500))
count=5))
t.start()
try:
with socket.socket(self.family, socket.SOCK_STREAM) as s:
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.