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

Method _yield_comparisons

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

Source from the content-addressed store, hash-verified

296 return super().__eq__(actual)
297
298 def _yield_comparisons(self, actual):
299 for k in self.expected.keys():
300 yield actual[k], self.expected[k]
301
302 def _check_type(self) -> None:
303 __tracebackhide__ = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected