MCPcopy
hub / github.com/pytest-dev/pytest / __eq__

Method __eq__

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

Source from the content-addressed store, hash-verified

298 )
299
300 def __eq__(self, actual) -> bool:
301 try:
302 if set(actual.keys()) != set(self.expected.keys()):
303 return False
304 except AttributeError:
305 return False
306
307 return super().__eq__(actual)
308
309 def _yield_comparisons(self, actual):
310 for k in self.expected.keys():

Callers

nothing calls this directly

Calls 1

__eq__Method · 0.45

Tested by

no test coverage detected