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

Method test_body

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

Source from the content-addressed store, hash-verified

583"""
584
585 def test_body(self) -> None:
586 source = getstatement(1, self.source)
587 assert str(source) == " y = 3"
588
589 def test_elif_clause(self) -> None:
590 source = getstatement(2, self.source)

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected