diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-03 01:47:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 01:47:34 (GMT) |
commit | d1c862ffa73b222746035155817d2516c4f5b71e (patch) | |
tree | a123154d7825fd06dc822aa8a6645570a9d562f4 /Objects/sliceobject.c | |
parent | df5692549a68741d3d02eeee28f9fef74f349712 (diff) | |
download | cpython-d1c862ffa73b222746035155817d2516c4f5b71e.zip cpython-d1c862ffa73b222746035155817d2516c4f5b71e.tar.gz cpython-d1c862ffa73b222746035155817d2516c4f5b71e.tar.bz2 |
bpo-30199: test_ssl closes all asyncore channels (#1381) (#1408)
AsyncoreEchoServer of test_ssl now calls
asyncore.close_all(ignore_all=True) to ensure that
asyncore.socket_map is cleared once the test completes, even if
ConnectionHandler was not correctly unregistered.
Fix the following warning:
Warning -- asyncore.socket_map was modified by test_ssl
Before: {}
After: {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler>}
(cherry picked from commit 1dae7450c68bad498e57800387b24cb103c461fa)
Diffstat (limited to 'Objects/sliceobject.c')
0 files changed, 0 insertions, 0 deletions