From d99bfc18b85e243233e86360fbe6ec07e8287201 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 29 Feb 2020 11:39:33 +0100 Subject: [PATCH] Update src/_pytest/config/findpaths.py Co-Authored-By: Ran Benita --- src/_pytest/config/findpaths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/config/findpaths.py b/src/_pytest/config/findpaths.py index d63071084..56b25f10f 100644 --- a/src/_pytest/config/findpaths.py +++ b/src/_pytest/config/findpaths.py @@ -86,7 +86,7 @@ def get_common_ancestor(paths: Iterable[py.path.local]) -> py.path.local: return common_ancestor -def get_dirs_from_args(args: List[str]) -> List[py.path.local]: +def get_dirs_from_args(args: Iterable[str]) -> List[py.path.local]: def is_option(x: str) -> bool: return x.startswith("-")