CmdForge/.venv/lib/python3.12/site-packages/_pytest/config/exceptions.py

16 lines
315 B
Python

from __future__ import annotations
from typing import final
@final
class UsageError(Exception):
"""Error in pytest usage or invocation."""
__module__ = "pytest"
class PrintHelp(Exception):
"""Raised when pytest should print its help to skip the rest of the
argument parsing and validation."""