summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-09 11:35:47 (GMT)
committerGitHub <noreply@github.com>2019-07-09 11:35:47 (GMT)
commit61b1bc56069719fc6f17c73fdf2193636dbf6cc2 (patch)
treee3b7cc435f41f8b709ea4b01637ad43321762d8c /Lib
parent76611c7c0af6b2f4d0d98a5db827d34cff54ce25 (diff)
downloadcpython-61b1bc56069719fc6f17c73fdf2193636dbf6cc2.zip
cpython-61b1bc56069719fc6f17c73fdf2193636dbf6cc2.tar.gz
cpython-61b1bc56069719fc6f17c73fdf2193636dbf6cc2.tar.bz2
Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)" (GH-14669)
This reverts commit cf9c41c422de3774862db964fe3153086bad3f61.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 166e286..d2b9e20 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -2382,7 +2382,6 @@ class ThreadedEchoServer(threading.Thread):
if self.server.chatty and support.verbose:
sys.stdout.write(err.args[1])
# test_pha_required_nocert is expecting this exception
- self.close()
raise ssl.SSLError('tlsv13 alert certificate required')
except OSError:
if self.server.chatty: