From 6e20460dc6356d213e816bbbd8dc6a336c83bbd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 23 Jul 2014 19:28:13 +0100 Subject: Issue #21566: Make use of socket.listen() default backlog. --- Lib/test/test_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_support.py') diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 9bd0a01948..212c9f3be7 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() -- cgit v1.2.1