<s> """<STR_LIT>""" <EOL> try : <EOL> from tornado import ioloop <EOL> except ImportError : <EOL> ioloop = None <EOL> try : <EOL> import mock <EOL> except ImportError : <EOL> from unittest import mock <EOL> try : <EOL> import unittest2 as unittest <EOL> except ImportError : <EOL> import unittest <EOL> try : <EOL> from pika . adapters import tornado_connection <EOL> except ImportError : <EOL> tornado_connection = None <EOL> class TornadoConnectionTests ( unittest . TestCase ) : <EOL> @ unittest . skipIf ( ioloop is None , '<STR_LIT>' ) <EOL> @ mock . patch ( '<STR_LIT>' ) <EOL> def test_tornado_connection_call_parent ( self , mock_init ) : <EOL> obj = tornado_connection . TornadoConnection ( ) <EOL> mock_init . assert_called_once_with ( <EOL> None , None , None , None , <EOL> tornado_connection . ioloop . IOLoop . instance ( ) , <EOL> False ) </s>
