summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.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_support.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_support.py')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 9bd0a01..212c9f3 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -84,7 +84,7 @@ class TestSupport(unittest.TestCase):
def test_bind_port(self):
s = socket.socket()
support.bind_port(s)
- s.listen(1)
+ s.listen()
s.close()
# Tests for temp_dir()