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

Method test_else

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

Source from the content-addressed store, hash-verified

595 assert str(source) == " y = 5"
596
597 def test_else(self) -> None:
598 source = getstatement(5, self.source)
599 assert str(source) == " y = 7"
600
601
602def test_semicolon() -> None:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected