def teardown_method(self, method): log.set_threshold(self.threshold) log.Log._log = self._old_log super(TestFileListTest, self).teardown_method(method)