def tearDown(self):
if self.loop:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>try:<EOL><INDENT>self.loop.stop(True, <NUM_LIT:2>)<EOL><DEDENT>except Exception: <EOL><INDENT>logger.exception("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL><DEDENT>self.loop.event_dispatcher.flush(False)<EOL><DEDENT>super(ReceiverThreadedTestMixIn, self).tearDown()<EOL>
Tear down the test case object.