#NEWLINE# def test_io_normal_connection_without_ssl_library( self ) : #NEWLINE# #INDENT# compatibility . SSL_SUPPORTED = False #NEWLINE# try : #NEWLINE# #INDENT# connection = FakeConnection ( ) #NEWLINE# connection . parameters [ 'hostname' ] = 'localhost' #NEWLINE# connection . parameters [ 'port' ] = 1234 #NEWLINE# parameters = connection . parameters #NEWLINE# io = IO ( io ) #NEWLINE# self . assertRaisesRegexp ( AMQPConnectionError , 'Could not connect to localhost:1234' , io . open , [ ] ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# compatibility . SSL_SUPPORTED = True