def setUp(self): super(EmptyMrjobConfTestCase, self).setUp() add_null_handler_to_root_logger() if self.MRJOB_CONF_CONTENTS is not None: patcher = mrjob_conf_patcher(self.MRJOB_CONF_CONTENTS) patcher.start() self.addCleanup(patcher.stop)
def setUp(self): super(EmptyMrjobConfTestCase, self).setUp() add_null_handler_to_root_logger() if self.MRJOB_CONF_CONTENTS is not None: patcher = mrjob_conf_patcher(self.MRJOB_CONF_CONTENTS) patcher.start() self.addCleanup(patcher.stop)