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

Function test_issue55

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getstatementFunction · 0.85

Tested by

no test coverage detected