Skip to content

Commit

Permalink
add extra str conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Tor Colvin authored and Tor Colvin committed Feb 20, 2020
1 parent 2377c53 commit f30be71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/pathlib.py
Expand Up @@ -114,7 +114,7 @@ def ensure_extended_length_path(path: Path) -> Path:
"""
if sys.platform.startswith("win32"):
path = path.resolve()
path = Path(get_extended_length_path_str(path))
path = Path(get_extended_length_path_str(str(path)))
return path


Expand Down

0 comments on commit f30be71

Please sign in to comment.