Fix type annotation for pytest 6.2
This commit is contained in:
@@ -44,7 +44,7 @@ def pytest_cmdline_main(config):
|
|||||||
return 2 # looponfail only can get stop with ctrl-C anyway
|
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)
|
remotecontrol = RemoteControl(config)
|
||||||
config_roots = config.getini("looponfailroots")
|
config_roots = config.getini("looponfailroots")
|
||||||
if not config_roots:
|
if not config_roots:
|
||||||
|
|||||||
Reference in New Issue
Block a user