mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
Issue #21566: Make use of socket.listen() default backlog.
This commit is contained in:
parent
8518b79a8d
commit
6e20460dc6
18 changed files with 33 additions and 33 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue