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

Function test_source_fallback

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

Source from the content-addressed store, hash-verified

310
311
312def test_source_fallback() -> None:
313 src = Source(x)
314 expected = """def x():
315 pass"""
316 assert str(src) == expected
317
318
319def test_findsource_fallback() -> None:

Callers

nothing calls this directly

Calls 1

SourceClass · 0.90

Tested by

no test coverage detected