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

Function test_oneline_and_comment

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected