mirror of
https://github.com/python/cpython.git
synced 2026-06-05 01:10:53 +00:00
gh-148292: Remove shutdown() test in test_ssl.test_got_eof() (#149366)
The shutdown() behavior depends too much on the operating system and it's unrelated to the got_eof_error change.
This commit is contained in:
parent
6e6f9053e3
commit
1e21cf6fee
1 changed files with 0 additions and 8 deletions
|
|
@ -5074,14 +5074,6 @@ def test_got_eof(self):
|
|||
sslsock.do_handshake()
|
||||
|
||||
self.assertEqual(sslsock.pending(), 0)
|
||||
try:
|
||||
sslsock.shutdown(socket.SHUT_WR)
|
||||
except OSError as exc:
|
||||
self.assertEqual(exc.errno, errno.ENOTCONN)
|
||||
else:
|
||||
# On Windows and on OpenSSL 1.1.1, shutdown() doesn't
|
||||
# raise an error
|
||||
pass
|
||||
|
||||
|
||||
@unittest.skipUnless(has_tls_version('TLSv1_3') and ssl.HAS_PHA,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue