MCPcopy 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
126def isattrs(obj: Any) -> bool:
127 return getattr(obj, "__attrs_attrs__", None) is not None
128
129
130def isiterable(obj: Any) -> bool:

Callers 2

_compare_eq_anyFunction · 0.85
_compare_eq_clsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected