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

Function test_package_collection_infinite_recursion

testing/python/collect.py:1403–1406  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

1401
1402
1403def test_package_collection_infinite_recursion(pytester: Pytester) -> None:
1404 pytester.copy_example("collect/package_infinite_recursion")
1405 result = pytester.runpytest()
1406 result.stdout.fnmatch_lines(["*1 passed*"])
1407
1408
1409def test_package_collection_init_given_as_argument(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

fnmatch_linesMethod · 0.80
copy_exampleMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected