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

Method test_finally

testing/code/test_source.py:569–571  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

567 assert str(source) == " raise ValueError"
568
569 def test_finally(self) -> None:
570 source = getstatement(3, self.source)
571 assert str(source) == " raise IndexError(1)"
572
573
574class TestIf:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected