mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-44389: Fix typo in ssl deprecation warning message (GH-26754)
`ssl.SSL_NO_TLS` should be `ssl.OP_NO_TLS`.
This commit is contained in:
parent
7247f6f433
commit
c544393b89
2 changed files with 2 additions and 2 deletions
|
@ -605,7 +605,7 @@ class BasicSocketTests(unittest.TestCase):
|
|||
with self.assertWarns(DeprecationWarning) as cm:
|
||||
ctx.options |= option
|
||||
self.assertEqual(
|
||||
'ssl.OP_NO_SSL*/ssl.SSL_NO_TLS* options are deprecated',
|
||||
'ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are deprecated',
|
||||
str(cm.warning)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue