def tearDown(self):
self.testbed.deactivate()<EOL>self._logger.setLevel(self._old_log_level)<EOL>ev = eventloop.get_event_loop()<EOL>stragglers = <NUM_LIT:0><EOL>while ev.run1():<EOL><INDENT>stragglers += <NUM_LIT:1><EOL><DEDENT>if stragglers:<EOL><INDENT>logging.info('<STR_LIT>',<EOL>stragglers)<EOL><DEDENT>self.ResetKindMap()<EOL>
Tear down test framework.