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

Function test_no_terminal_discovery_error

testing/test_config.py:1251–1254  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

1249
1250
1251def test_no_terminal_discovery_error(pytester: Pytester) -> None:
1252 pytester.makepyfile("raise TypeError('oops!')")
1253 result = pytester.runpytest("-p", "no:terminal", "--collect-only")
1254 assert result.ret == ExitCode.INTERRUPTED
1255
1256
1257def test_load_initial_conftest_last_ordering(_config_for_test):

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected