def test_log_errors(self):
        result = []
        registry = FunctionRegistry()
        registry.register(lambda: result.append(2))
        registry.register(lambda: 1/0)
        registry.register(lambda: result.append(1))
        registry.run()
        self.assertEqual(result, [1, 2])
        excs = self.flushLoggedErrors(ZeroDivisionError)
        self.assertEqual(len(excs), 1)
standard UNIX technique c/o Jurgen Hermann's Python Cookbook recipe
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_shutdown.py/FunctionRegistryTests.test_log_errors--crossover with--dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/detach_as_demon_process