• Victor Stinner's avatar
    asyncio: Close transports in tests · ab8848bc
    Victor Stinner yazdı
    * Use test_utils.run_briefly() to execute pending calls to really close
      transports
    * sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport
    * pipe test: the test doesn't close explicitly the PipeHandle, so ignore
      the warning instead
    * test_popen: use the context manager ("with p:") to explicitly close pipes
    ab8848bc
test_windows_utils.py 6.13 KB