diff --git a/dvc/utils/fs.py b/dvc/utils/fs.py index cb15088ea..1b5157616 100644 --- a/dvc/utils/fs.py +++ b/dvc/utils/fs.py @@ -140,7 +140,7 @@ def path_isin(child, parent): """Check if given `child` path is inside `parent`.""" def normalize_path(path): - return os.path.normpath(fspath(path)) + return os.path.normpath(fspath_py35(path)) parent = os.path.join(normalize_path(parent), "") child = normalize_path(child)