MCPcopy
hub / github.com/pytest-dev/pytest / test_oneline_and_comment

Function test_oneline_and_comment

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

Source from the content-addressed store, hash-verified

427
428
429def test_oneline_and_comment() -> None:
430 source = getstatement(0, "raise ValueError\n#hello")
431 assert str(source) == "raise ValueError"
432
433
434def test_comments() -> None:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected