Add type annotations
This commit is contained in:
parent
1ed8159c7d
commit
06a597db14
|
@ -87,7 +87,7 @@ def test_timeout(pytester: Pytester, enabled: bool) -> None:
|
|||
|
||||
|
||||
@pytest.mark.parametrize("hook_name", ["pytest_enter_pdb", "pytest_exception_interact"])
|
||||
def test_cancel_timeout_on_hook(monkeypatch, hook_name):
|
||||
def test_cancel_timeout_on_hook(monkeypatch, hook_name) -> None:
|
||||
"""Make sure that we are cancelling any scheduled traceback dumping due
|
||||
to timeout before entering pdb (pytest-dev/pytest-faulthandler#12) or any
|
||||
other interactive exception (pytest-dev/pytest-faulthandler#14)."""
|
||||
|
|
Loading…
Reference in New Issue