exceptions.py 260 B

1234567891011
  1. from _pytest.compat import final
  2. @final
  3. class UsageError(Exception):
  4. """Error in pytest usage or invocation."""
  5. class PrintHelp(Exception):
  6. """Raised when pytest should print its help to skip the rest of the
  7. argument parsing and validation."""