Now #16900 is fixed, we get gunk like this:
$ ./python -Wall Lib/test/regrtest.py -uall test_ssl
[1/1] test_ssl
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/test/test_ssl.py:211: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
del ss
/home/benjamin/dev/python/3.3/Lib/test/test_ssl.py:232: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
ss = ssl.wrap_socket(s)
/home/benjamin/dev/python/3.3/Lib/test/test_ssl.py:232: ResourceWarning: unclosed <ssl.SSLSocket object, fd=7, family=2, type=2049, proto=0>
ss = ssl.wrap_socket(s)
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=2049, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/test/test_ssl.py:374: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
ss = ssl.wrap_socket(s, server_side=True, certfile=CERTFILE)
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=7, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=6, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=8, family=2, type=2049, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/test/test_ssl.py:874: ResourceWarning: unclosed <ssl.SSLSocket object, fd=7, family=2, type=2049, proto=0>
cert_reqs=ssl.CERT_NONE, ciphers="DEFAULT")
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=8, family=2, type=2049, proto=0>
function()
Resource 'ipv6.google.com' is not available
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=8, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=9, family=2, type=1, proto=0>
function()
/home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed <ssl.SSLSocket object, fd=8, family=2, type=1, proto=0>
function()
1 test OK.
This should be fixed.
|