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

Function test__get_multicapture

testing/test_capture.py:1633–1637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1631
1632
1633def test__get_multicapture() -> None:
1634 assert isinstance(_get_multicapture("no"), MultiCapture)
1635 pytest.raises(ValueError, _get_multicapture, "unknown").match(
1636 r"^unknown capturing method: 'unknown'"
1637 )
1638
1639
1640def test_logging_while_collecting(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 2

_get_multicaptureFunction · 0.90
matchMethod · 0.80

Tested by

no test coverage detected