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

Function test_semicolon

testing/code/test_source.py:602–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600
601
602def test_semicolon() -> None:
603 s = """\
604hello ; pytest.skip()
605"""
606 source = getstatement(0, s)
607 assert str(source) == s.strip()
608
609
610def test_def_online() -> None:

Callers

nothing calls this directly

Calls 2

getstatementFunction · 0.85
stripMethod · 0.80

Tested by

no test coverage detected