def tearDown(self): self.workers.close() logger.setLevel(logging.DEBUG)
def setUp(self): self.workers = MemoryWorkers(size=1) logger.setLevel(logging.CRITICAL)