_pytest.config.exceptions 源代码

from _pytest.compat import final


[文档]@final class UsageError(Exception): """Error in pytest usage or invocation."""
class PrintHelp(Exception): """Raised when pytest should print its help to skip the rest of the argument parsing and validation."""