Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Source code for _pytest.config.exceptions

    from __future__ import annotations

    from typing 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."""