summaryrefslogtreecommitdiffstats
path: root/Lib/test/buffer_tests.py
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)
commit3464ea2807b6ba2d132ef27b65535116ab993eba (patch)
treec848161fa1b7478d7b9a96685c886e4938249724 /Lib/test/buffer_tests.py
parent5f0c5d92ef4b77f1d8a3610d3bb8022ee71db100 (diff)
downloadcpython-3464ea2807b6ba2d132ef27b65535116ab993eba.zip
cpython-3464ea2807b6ba2d132ef27b65535116ab993eba.tar.gz
cpython-3464ea2807b6ba2d132ef27b65535116ab993eba.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. Also fix a ResourceWarning by closing the wrapped socket.
Diffstat (limited to 'Lib/test/buffer_tests.py')
0 files changed, 0 insertions, 0 deletions