From f76b1622632acc7b19faf45502564f2d559823ff Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 14 Aug 2020 11:36:07 -0300 Subject: [PATCH] Add ref to Python bug --- 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 7a2bba5a7..facf30a87 100644 --- a/src/_pytest/config/findpaths.py +++ b/src/_pytest/config/findpaths.py @@ -147,7 +147,7 @@ def get_dirs_from_args(args: Iterable[str]) -> List[Path]: def safe_exists(path: Path) -> bool: # This can throw on paths that contain characters unrepresentable at the OS level, - # or with invalid syntax on Windows + # or with invalid syntax on Windows (https://bugs.python.org/issue35306) try: return path.exists() except OSError: