@disabled
@retry_on_failure
def test_SSLType_ssl_neg():
 s = socket.socket(socket.AF_INET)
 s.connect((SSL_URL, SSL_PORT))
 AssertError(TypeError, real_ssl.sslwrap)
 AssertError(TypeError, real_ssl.sslwrap, False)
 AssertError(TypeError, real_ssl.sslwrap, None, False)
 AssertError(real_ssl.SSLError, real_ssl.sslwrap, s._sock, False, 'bad keyfile')
 AssertError(real_ssl.SSLError, real_ssl.sslwrap, s._sock, False, 'bad keyfile', 'bad certfile')
 s.close()

@ disabled @ retry_on_failure def test_SSLType_ssl_neg ( ) : s = socket . socket ( socket . AF_INET ) s . connect ( ( SSL_URL , SSL_PORT ) ) AssertError ( TypeError , real_ssl . sslwrap ) AssertError ( TypeError , real_ssl . sslwrap , False ) AssertError ( TypeError , real_ssl . sslwrap , None , False ) AssertError ( real_ssl . SSLError , real_ssl . sslwrap , s . _sock , False , 'bad keyfile' ) AssertError ( real_ssl . SSLError , real_ssl . sslwrap , s . _sock , False , 'bad keyfile' , 'bad certfile' ) s . close ( )
see comments on test_ssltype_ssl .