diff options
author | Idan Kapustian <71190257+idankap@users.noreply.github.com> | 2024-06-16 12:15:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-16 12:15:03 (GMT) |
commit | 192d17c3fd9945104bc0303cf248bb0d074d260e (patch) | |
tree | 2a9fd31fa0531c5c9b3ac2237c9ec79f98f0bce0 /Lib/test/test_logging.py | |
parent | 0c0348adbfca991f78b3aaa6790e5c26606a1c0f (diff) | |
download | cpython-192d17c3fd9945104bc0303cf248bb0d074d260e.zip cpython-192d17c3fd9945104bc0303cf248bb0d074d260e.tar.gz cpython-192d17c3fd9945104bc0303cf248bb0d074d260e.tar.bz2 |
gh-120485: Add an override of `allow_reuse_port` on classes subclassing `socketserver.TCPServer` (GH-120488)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 504862a..5192ce2 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1038,6 +1038,7 @@ class TestTCPServer(ControlMixin, ThreadingTCPServer): """ allow_reuse_address = True + allow_reuse_port = True def __init__(self, addr, handler, poll_interval=0.5, bind_and_activate=True): |