Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)" (GH-14669)

This reverts commit cf9c41c422.
This commit is contained in:
Victor Stinner 2019-07-09 13:35:47 +02:00 committed by GitHub
parent 76611c7c0a
commit 61b1bc5606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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: