Commit b09e74ed authored by Jason Madden's avatar Jason Madden

Fix tests on older versions of 3.7 and 3.8 for appveyor.

parent 22d0a57a
...@@ -1151,6 +1151,13 @@ if PY37: ...@@ -1151,6 +1151,13 @@ if PY37:
'test_ssl.ThreadedTests.test_wrong_cert_tls13', 'test_ssl.ThreadedTests.test_wrong_cert_tls13',
] ]
if sys.version_info < (3, 7, 6):
disabled_tests += [
# Earlier versions parse differently so the newer test breaks
'test_ssl.BasicSocketTests.test_parse_all_sans',
'test_ssl.BasicSocketTests.test_parse_cert_CVE_2013_4238',
]
if APPVEYOR: if APPVEYOR:
disabled_tests += [ disabled_tests += [
...@@ -1171,6 +1178,14 @@ if PY38: ...@@ -1171,6 +1178,14 @@ if PY38:
'test_threading.ExceptHookTests.test_excepthook_thread_None', 'test_threading.ExceptHookTests.test_excepthook_thread_None',
] ]
if sys.version_info < (3, 8, 1):
disabled_tests += [
# Earlier versions parse differently so the newer test breaks
'test_ssl.BasicSocketTests.test_parse_all_sans',
'test_ssl.BasicSocketTests.test_parse_cert_CVE_2013_4238',
]
# if 'signalfd' in os.environ.get('GEVENT_BACKEND', ''): # if 'signalfd' in os.environ.get('GEVENT_BACKEND', ''):
# # tests that don't interact well with signalfd # # tests that don't interact well with signalfd
# disabled_tests.extend([ # disabled_tests.extend([
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment