We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a40e9c6 commit 0460bebCopy full SHA for 0460beb
tests/test_tcp.py
@@ -1264,9 +1264,11 @@ class _TestSSL(tb.SSLTestCase):
1264
TIMEOUT = 60
1265
1266
def test_start_tls_buffer_transfer(self):
1267
- if self.implementation == 'asyncio' and sys.version_info < (3, 11):
+ if self.implementation == 'asyncio' and sys.version_info[:2] <= (3, 11):
1268
# StreamWriter.start_tls() introduced in Python 3.11
1269
- raise unittest.SkipTest()
+ raise unittest.SkipTest(
1270
+ 'StreamWriter.start_tls() not supported'
1271
+ )
1272
1273
HELLO_MSG = b'1' * self.PAYLOAD_SIZE
1274
BUFFERED_MSG = b'buffered data before TLS'
0 commit comments