Update src/_pytest/config/findpaths.py
Co-Authored-By: Ran Benita <ran234@gmail.com>
This commit is contained in:
parent
8128f4b3b8
commit
d99bfc18b8
|
@ -86,7 +86,7 @@ def get_common_ancestor(paths: Iterable[py.path.local]) -> py.path.local:
|
||||||
return common_ancestor
|
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:
|
def is_option(x: str) -> bool:
|
||||||
return x.startswith("-")
|
return x.startswith("-")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue