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

Function test_issue55

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

Source from the content-addressed store, hash-verified

501
502
503def test_issue55() -> None:
504 source = (
505 "def round_trip(dinp):\n assert 1 == dinp\n"
506 'def test_rt():\n round_trip("""\n""")\n'
507 )
508 s = getstatement(3, source)
509 assert str(s) == ' round_trip("""\n""")'
510
511
512def test_multiline() -> None:

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected