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

Function test_multiline

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

Source from the content-addressed store, hash-verified

510
511
512def test_multiline() -> None:
513 source = getstatement(
514 0,
515 """\
516raise ValueError(
517 23
518)
519x = 3
520""",
521 )
522 assert str(source) == "raise ValueError(\n 23\n)"
523
524
525class TestTry:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected