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

Method test_body

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

Source from the content-addressed store, hash-verified

563"""
564
565 def test_body(self) -> None:
566 source = getstatement(1, self.source)
567 assert str(source) == " raise ValueError"
568
569 def test_finally(self) -> None:
570 source = getstatement(3, self.source)

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected