]> granicus.if.org Git - python/commit
bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)
authorVictor Stinner <vstinner@redhat.com>
Wed, 6 Jun 2018 23:12:38 +0000 (01:12 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Jun 2018 23:12:38 +0000 (01:12 +0200)
commit0eba7c39132614a5730cda6b340e18dfb2d30d14
treefae32716d814f9eb9ecc140dfbd9f7b30f6a0922
parent3ef769fcd378a7f1cda19c0dfec2e79613d79e48
bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)

* Close sockets and streams to fix ResourceWarning warnings
* Catch also OSError to hide a traceback on an expected handshake
  error
Lib/test/test_asyncio/functional.py
Lib/test/test_asyncio/test_sslproto.py