From: Victor Stinner Date: Tue, 9 Jul 2019 11:35:47 +0000 (+0200) Subject: Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662... X-Git-Tag: v3.9.0a1~1065 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61b1bc56069719fc6f17c73fdf2193636dbf6cc2;p=thirdparty%2FPython%2Fcpython.git Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)" (GH-14669) This reverts commit cf9c41c422de3774862db964fe3153086bad3f61. --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 166e28683e26..d2b9e2046d0e 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: