MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __eq__

Method __eq__

src/_pytest/python_api.py:98–101  ·  view source on GitHub ↗
(self, actual)

Source from the content-addressed store, hash-verified

96 ]
97
98 def __eq__(self, actual) -> bool:
99 return all(
100 a == self._approx_scalar(x) for a, x in self._yield_comparisons(actual)
101 )
102
103 def __bool__(self):
104 __tracebackhide__ = True

Callers 3

__eq__Method · 0.45
__eq__Method · 0.45
__eq__Method · 0.45

Calls 2

_approx_scalarMethod · 0.95
_yield_comparisonsMethod · 0.95

Tested by

no test coverage detected