Download lib/python3.12/site-packages/_pytest/config/exceptions.py from ZhengyangZhang/attn-env: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/ZhengyangZhang/attn-env/resolve/main/lib/python3.12/site-packages/_pytest/config/exceptions.py
- Command line
-
hf download hf://ZhengyangZhang/attn-env/lib/python3.12/site-packages/_pytest/config/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/ZhengyangZhang/attn-env/resolve/main/lib/python3.12/site-packages/_pytest/config/exceptions.py
315 Bytes
| from __future__ import annotations | |
| from typing import 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.""" | |