Update src/_pytest/config/findpaths.py

Co-Authored-By: Ran Benita <ran234@gmail.com>
This commit is contained in:
Daniel Hahler 2020-02-29 11:39:33 +01:00 committed by GitHub
parent 8128f4b3b8
commit d99bfc18b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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("-")