Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ ids
Method
ids
testing/python/metafunc.py:463–466 ·
view source on GitHub ↗
(val: object)
Source
from the content-addressed store, hash-verified
461
""
"#351"
""
462
463
def
ids(val: object) -> Optional[str]:
464
if
isinstance(val, Exception):
465
return
repr(val)
466
return
None
467
468
result = idmaker(
469
(
"a"
,
"b"
),
Callers
1
pytest_fixture_setup
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected