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

Function test_oneline

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

Source from the content-addressed store, hash-verified

408
409
410def test_oneline() -> None:
411 source = getstatement(0, "raise ValueError")
412 assert str(source) == "raise ValueError"
413
414
415def test_comment_and_no_newline_at_end() -> None:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected