Commit e5f46e55 authored by Jason Madden's avatar Jason Madden

Skip some tests on Appveyor 2.7.15 now that we're on 2.7.16 tests.

parent 2ee91a76
......@@ -442,6 +442,9 @@ if LIBUV:
'test_smtplib.TooLongLineTests.testLineTooLong',
'test_smtplib.GeneralTests.testTimeoutValue',
# This sometimes crashes, which can't be our fault?
'test_ssl.BasicSocketTests.test_parse_cert_CVE_2019_5010',
]
if PYPY:
......@@ -558,6 +561,19 @@ if PY2:
'test_urllib2_localnet.TestUrlopen.test_https_sni',
]
if sys.version_info[:3] < (2, 7, 16):
# We have 2.7.16 tests; older versions can fail
# to validate some SSL things or are missing important support functions
disabled_tests += [
# Support functions
'test_thread.ThreadRunningTests.test_nt_and_posix_stack_size',
'test_thread.ThreadRunningTests.test_save_exception_state_on_error',
'test_thread.ThreadRunningTests.test_starting_threads',
'test_thread.BarrierTest.test_barrier',
# Broken SSL
'test_urllib2_localnet.TestUrlopen.test_https',
]
def _make_run_with_original(mod_name, func_name):
@contextlib.contextmanager
def with_orig():
......
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