[python/cpython] 3c422b: bpo-30199: test_ssl closes all asyncore channels (...
Branch: refs/heads/3.6 Home: https://github.com/python/cpython Commit: 3c422b92653df05c7034136b77f76376aa5aec4f https://github.com/python/cpython/commit/3c422b92653df05c7034136b77f76376aa5... Author: Victor Stinner <victor.stinner@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) (#1390) 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)
participants (1)
-
GitHub