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

Method no_match_for_expected

src/_pytest/raises.py:1479–1485  ·  view source on GitHub ↗
(self, expected: list[int])

Source from the content-addressed store, hash-verified

1477 return self.results[actual][expected] is not NotChecked
1478
1479 def no_match_for_expected(self, expected: list[int]) -> bool:
1480 for i in expected:
1481 for actual_results in self.results:
1482 assert actual_results[i] is not NotChecked
1483 if actual_results[i] is None:
1484 return False
1485 return True
1486
1487 def no_match_for_actual(self, actual: list[int]) -> bool:
1488 for i in actual:

Callers 1

_check_exceptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected