From 1e9f6a7c3c6c037e9e345daa740a3562f47d247d Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 24 Oct 2022 12:02:42 -0300 Subject: [PATCH] Fix type annotation for pytest 6.2 --- src/xdist/looponfail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdist/looponfail.py b/src/xdist/looponfail.py index 7f3ea92..77eff04 100644 --- a/src/xdist/looponfail.py +++ b/src/xdist/looponfail.py @@ -44,7 +44,7 @@ def pytest_cmdline_main(config): return 2 # looponfail only can get stop with ctrl-C anyway -def looponfail_main(config: pytest.Config) -> None: +def looponfail_main(config: "pytest.Config") -> None: remotecontrol = RemoteControl(config) config_roots = config.getini("looponfailroots") if not config_roots: