summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-01 21:58:11 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-01 21:58:11 (GMT)
commit886aba4737a8384339baaee82d842b98b09162d0 (patch)
tree79c9a98f0eea53bdeb409e357e194d6e3864d80f /Python/errors.c
parentdc63e9c676e435966b895963934b33672d44016c (diff)
downloadcpython-886aba4737a8384339baaee82d842b98b09162d0.zip
cpython-886aba4737a8384339baaee82d842b98b09162d0.tar.gz
cpython-886aba4737a8384339baaee82d842b98b09162d0.tar.bz2
Issue #26173: Separate bad cert file tests and client rejection test
Test test_wrong_cert() runs a server that rejects the client's certificate, so ECONNRESET is reasonable in addition to SSLError. On the other hand, the other three tests don't even need to run a server because they are just testing the parsing of invalid certificate files. This should fix intermittent failures on Windows where ECONNRESET was not being caught.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions