diff options
| author | Charles-François Natali <cf.natali@gmail.com> | 2014-07-23 18:28:13 (GMT) |
|---|---|---|
| committer | Charles-François Natali <cf.natali@gmail.com> | 2014-07-23 18:28:13 (GMT) |
| commit | 6e20460dc6356d213e816bbbd8dc6a336c83bbd0 (patch) | |
| tree | 03871af1970c99a2ec09229730dac0cce4053586 /Lib/test/test_selectors.py | |
| parent | 8518b79a8d13920c06a5cdccd255944f2187f62f (diff) | |
| download | cpython-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_selectors.py')
| -rw-r--r-- | Lib/test/test_selectors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index a91fe78..c2eba15 100644 --- a/Lib/test/test_selectors.py +++ b/Lib/test/test_selectors.py @@ -24,7 +24,7 @@ else: def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): with socket.socket(family, type, proto) as l: l.bind((support.HOST, 0)) - l.listen(3) + l.listen() c = socket.socket(family, type, proto) try: c.connect(l.getsockname()) |
