]> granicus.if.org Git - python/commit
bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)
authorVictor Stinner <vstinner@redhat.com>
Tue, 9 Jul 2019 10:36:55 +0000 (12:36 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 10:36:55 +0000 (12:36 +0200)
commitcf9c41c422de3774862db964fe3153086bad3f61
treecb03aa0750dee4d79bfd30c1bd78aec558b39fbd
parent110a47c4f42cf4db88edc1876899fff8f05190fb
bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)

Close the TLS connection in test_pha_required_nocert() of test_ssl to
fix a ResourceWarning.
Lib/test/test_ssl.py