def tearDown(self): log.set_threshold(self.threshold) log.Log._log = self._old_log super(LoggingSilencer, self).tearDown()