Skip to content

Commit 3ef0124

Browse files
committed
fix tests
1 parent 99b3b90 commit 3ef0124

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Lib/test/test_ssl.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ def test_no_session_group_does_not_crash(self):
11411141
# Ensure that .group() does not crash because of OpenSSL itself.
11421142
# See https://github.com/python/cpython/issues/155782.
11431143
ctx = ssl.create_default_context()
1144+
ctx.check_hostname = False
11441145
obj = ctx.wrap_bio(ssl.MemoryBIO(), ssl.MemoryBIO())
11451146
self.assertIsNone(obj.group())
11461147

0 commit comments

Comments
 (0)