Reset logging as it was before setup(), no need to call this outside of testing, or some very special cases

def reset(cls):
        """Reset logging as it was before setup(), no need to call this outside of testing, or some very special cases"""
        cls._disable_faulthandler()
        if cls.handlers is not None:
            for handler in cls.handlers:
                logging.root.removeHandler(handler)
            cls.handlers = None
        cls._logging_snapshot.restore()
        cls.context.reset()
        cls.spec = LogSpec(cls._default_spec)
        cls.debug = None
        cls.actual_location = None
        cls.console_handler = None
        cls.file_handler = None
        cls.used_formats = None