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

Method has_result

src/_pytest/raises.py:1476–1477  ·  view source on GitHub ↗
(self, expected: int, actual: int)

Source from the content-addressed store, hash-verified

1474 return res
1475
1476 def has_result(self, expected: int, actual: int) -> bool:
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:

Callers 1

_check_exceptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected