Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ isattrs
Function
isattrs
src/_pytest/assertion/util.py:126–127 ·
view source on GitHub ↗
(obj: Any)
Source
from the content-addressed store, hash-verified
124
125
126
def
isattrs(obj: Any) -> bool:
127
return
getattr(obj,
"__attrs_attrs__"
, None) is not None
128
129
130
def
isiterable(obj: Any) -> bool:
Callers
2
_compare_eq_any
Function · 0.85
_compare_eq_cls
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected