Skip to content

Commit a19b46b

Browse files
committed
Fix test_ssl_stdlib
1 parent 8c9c272 commit a19b46b

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

tests/suite/test_ssl_stdlib.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ def load_tests(loader, standard_tests, pattern):
7878
if is_posix:
7979
failing_tests += [
8080
test.test_ssl.ContextTests('test_load_default_certs_env'), # 'SSLContext' object has no attribute 'cert_store_stats'
81-
test.test_ssl.NetworkedTests('test_makefile_close'), # OSError: [Errno 9] Bad file descriptor
82-
]
83-
if is_mono and is_osx:
84-
failing_tests += [
85-
test.test_ssl.NetworkedTests('test_connect_cadata'), # # https://github.com/IronLanguages/ironpython3/issues/1523
86-
test.test_ssl.NetworkedTests('test_connect_ex'), # https://github.com/IronLanguages/ironpython3/issues/1523
87-
test.test_ssl.NetworkedTests('test_get_server_certificate'), # https://github.com/IronLanguages/ironpython3/issues/1523
8881
]
8982

9083
skip_tests = [
@@ -106,14 +99,13 @@ def load_tests(loader, standard_tests, pattern):
10699
test.test_ssl.ThreadedTests('test_socketserver'),
107100
test.test_ssl.ThreadedTests('test_starttls'), # blocking
108101
]
109-
if sys.version_info < (3, 4):
102+
if sys.version_info < (3, 6):
110103
skip_tests += [
111104
test.test_ssl.NetworkedTests('test_connect_ex_error'), # slow
112105
test.test_ssl.SSLErrorTests('test_subclass'), # blocking
113106
test.test_ssl.ThreadedTests('test_default_ciphers'),
114107
test.test_ssl.ThreadedTests('test_handshake_timeout'), # blocking
115108
]
116-
117109
if sys.version_info >= (3, 6):
118110
skip_tests += [
119111
test.test_ssl.SSLErrorTests('test_subclass'), # hangs indefinitely: wrapped SSLSocket resets timeout to None

0 commit comments

Comments
 (0)