Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ __eq__
Method
__eq__
src/_pytest/python_api.py:79–82 ·
view source on GitHub ↗
(self, actual)
Source
from the content-addressed store, hash-verified
77
]
78
79
def
__eq__(self, actual) -> bool:
80
return
all(
81
a == self._approx_scalar(x)
for
a, x in self._yield_comparisons(actual)
82
)
83
84
def
__bool__(self):
85
__tracebackhide__ = True
Callers
3
__eq__
Method · 0.45
__eq__
Method · 0.45
__eq__
Method · 0.45
Calls
2
_approx_scalar
Method · 0.95
_yield_comparisons
Method · 0.95
Tested by
no test coverage detected