#NEWLINE# def test_connection_invalid_timeout_on_channel( self ) : #NEWLINE# #INDENT# connection = Connection ( '127.0.0.1' , 'guest' , 'guest' , timeout = 1 , lazy = True ) #NEWLINE# self . assertRaisesRegexp ( AMQPInvalidArgument , 'rpc_timeout should be an integer' , self . channel , None )