• Martin Panter's avatar
    Issue #26173: Separate bad cert file tests and client rejection test · 886aba47
    Martin Panter yazdı
    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.
    886aba47
test_ssl.py 136 KB