Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def tearDown(self): # noqa
pykka.ActorRegistry.stop_all()
def tearDown(self): # noqa: N802
pykka.ActorRegistry.stop_all()
self.patcher.stop()
def tearDown(self):
pykka.ActorRegistry.stop_all()
def tearDown(self):
pykka.ActorRegistry.stop_all()
def tearDown(self):
pykka.ActorRegistry.stop_all()
mock.patch.stopall()
def on_failure(self, exception_type, exception_value, traceback):
ref = ActorRegistry.get_by_urn(self.actor_urn)
logger.exception('Lego crashed: ' + str(ref))
logger.exception(exception_type)
logger.exception(exception_value)