[Python-checkins] [python/cpython] 1dae74: bpo-30199: test_ssl closes all asyncore channels (...
GitHub
noreply at github.com
Tue May 2 07:12:03 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 1dae7450c68bad498e57800387b24cb103c461fa
https://github.com/python/cpython/commit/1dae7450c68bad498e57800387b24cb103c461fa
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-02 (Tue, 02 May 2017)
Changed paths:
M Lib/test/test_ssl.py
Log Message:
-----------
bpo-30199: test_ssl closes all asyncore channels (#1381)
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>}
More information about the Python-checkins
mailing list