diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-02-01 21:58:11 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-01 21:58:11 (GMT) |
| commit | 886aba4737a8384339baaee82d842b98b09162d0 (patch) | |
| tree | 79c9a98f0eea53bdeb409e357e194d6e3864d80f /Lib/test/test_functools.py | |
| parent | dc63e9c676e435966b895963934b33672d44016c (diff) | |
| download | cpython-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 'Lib/test/test_functools.py')
0 files changed, 0 insertions, 0 deletions
