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

Method test_elif_clause

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

Source from the content-addressed store, hash-verified

587 assert str(source) == " y = 3"
588
589 def test_elif_clause(self) -> None:
590 source = getstatement(2, self.source)
591 assert str(source) == "elif False:"
592
593 def test_elif(self) -> None:
594 source = getstatement(3, self.source)

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected