Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ UsageError
Class
UsageError
src/_pytest/config/exceptions.py:7–10 ·
view source on GitHub ↗
Error in pytest usage or invocation.
Source
from the content-addressed store, hash-verified
5
6
@final
7
class
UsageError(Exception):
8
""
"Error in pytest usage or invocation."
""
9
10
__module__ =
"pytest"
11
12
13
class
PrintHelp(Exception):
Callers
15
get_log_level_for_setting
Function · 0.90
_import_pdb_cls
Method · 0.90
perform_collect
Method · 0.90
resolve_collection_argument
Function · 0.90
get_assertion_text_diff_style
Function · 0.90
__call__
Method · 0.90
_parse_expression
Function · 0.90
pytest_configure
Function · 0.90
_get_pygments_formatter
Method · 0.90
filename_arg
Function · 0.85
directory_arg
Function · 0.85
consider_pluginarg
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected