def tearDown(self): """Restore the original logging level for the :mod:`turingmachine` module. """ logger.setLevel(self.level)
def setUp(self): """Disable verbose logging for tests.""" self.level = logger.getEffectiveLevel() logger.setLevel(logging.INFO)