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

Function test_no_warnings

testing/test_meta.py:25–32  ·  view source on GitHub ↗
(module: str)

Source from the content-addressed store, hash-verified

23@pytest.mark.slow
24@pytest.mark.parametrize("module", _modules())
25def test_no_warnings(module: str) -> None:
26 # fmt: off
27 subprocess.check_call((
28 sys.executable,
29 "-W", "error",
30 "-c", f"__import__({module!r})",
31 ))
32 # fmt: on

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected