summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorCharles-François Natali <cf.natali@gmail.com>2014-07-23 19:28:13 +0100
committerCharles-François Natali <cf.natali@gmail.com>2014-07-23 19:28:13 +0100
commit6e20460dc6356d213e816bbbd8dc6a336c83bbd0 (patch)
tree03871af1970c99a2ec09229730dac0cce4053586 /Lib/test/test_asyncio/test_events.py
parent8518b79a8d13920c06a5cdccd255944f2187f62f (diff)
downloadcpython-git-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.tar.gz
Issue #21566: Make use of socket.listen() default backlog.
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r--Lib/test/test_asyncio/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index b0657495ad..cce646741f 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -428,7 +428,7 @@ class EventLoopTestsMixin:
listener = socket.socket()
listener.setblocking(False)
listener.bind(('127.0.0.1', 0))
- listener.listen(1)
+ listener.listen()
client = socket.socket()
client.connect(listener.getsockname())