• Victor Stinner's avatar
    bpo-30199: test_ssl closes all asyncore channels (#1381) · 1dae7450
    Victor Stinner yazdı
    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>}
    1dae7450
test_ssl.py 159 KB