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

Function broken_pytester

testing/test_stepwise.py:73–77  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

71
72@pytest.fixture
73def broken_pytester(pytester: Pytester) -> Pytester:
74 pytester.makepyfile(
75 working_testfile="def test_proper(): assert 1", broken_testfile="foobar"
76 )
77 return pytester
78
79
80def _strip_resource_warnings(lines):

Callers

nothing calls this directly

Calls 1

makepyfileMethod · 0.45

Tested by

no test coverage detected