summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorCharles-François Natali <cf.natali@gmail.com>2014-07-23 18:28:13 (GMT)
committerCharles-François Natali <cf.natali@gmail.com>2014-07-23 18:28:13 (GMT)
commit6e20460dc6356d213e816bbbd8dc6a336c83bbd0 (patch)
tree03871af1970c99a2ec09229730dac0cce4053586 /Lib/test/test_asyncore.py
parent8518b79a8d13920c06a5cdccd255944f2187f62f (diff)
downloadcpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.zip
cpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.tar.gz
cpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.tar.bz2
Issue #21566: Make use of socket.listen() default backlog.
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index b4f474f..8882b80 100644
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -64,7 +64,7 @@ class crashingdummy:
# used when testing senders; just collects what it gets until newline is sent
def capture_server(evt, buf, serv):
try:
- serv.listen(5)
+ serv.listen()
conn, addr = serv.accept()
except socket.timeout:
pass