We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713166e commit da1adf3Copy full SHA for da1adf3
src/_pytest/faulthandler.py
@@ -80,7 +80,9 @@ def get_timeout_config_value(config: Config) -> float:
80
81
82
def get_exit_on_timeout_config_value(config: Config) -> bool:
83
- return bool(config.getini("faulthandler_exit_on_timeout"))
+ exit_on_timeout = config.getini("faulthandler_exit_on_timeout")
84
+ assert isinstance(exit_on_timeout, bool)
85
+ return exit_on_timeout
86
87
88
@pytest.hookimpl(wrapper=True, trylast=True)
0 commit comments