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

Function test__get_multicapture

testing/test_capture.py:1711–1714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1709
1710
1711def test__get_multicapture() -> None:
1712 assert isinstance(_get_multicapture("no"), MultiCapture)
1713 with pytest.raises(ValueError, match=r"^unknown capturing method: 'unknown'$"):
1714 _get_multicapture("unknown") # type: ignore[arg-type]
1715
1716
1717def test_logging_while_collecting(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 1

_get_multicaptureFunction · 0.90

Tested by

no test coverage detected