Update testing/test_faulthandler.py

Co-authored-by: Sanket Duthade <duthades@gmail.com>
This commit is contained in:
Josias Aurel
2020-11-11 04:45:42 +01:00
committed by GitHub
parent 043ed55056
commit 8320c07134

View File

@@ -108,7 +108,7 @@ def test_cancel_timeout_on_hook(monkeypatch, hook_name):
@pytest.mark.parametrize("faulthandler_timeout", [0, 2])
def test_already_initialized(faulthandler_timeout, pytester: Pytester):
def test_already_initialized(faulthandler_timeout: int, pytester: Pytester) -> None:
"""Test for faulthandler being initialized earlier than pytest (#6575)."""
pytester.makepyfile(
"""