diff --git a/tests/func/test_repo.py b/tests/func/test_repo.py index 3cf4e246e..92d70e305 100644 --- a/tests/func/test_repo.py +++ b/tests/func/test_repo.py @@ -47,7 +47,7 @@ def test_collect(tmp_dir, scm, dvc, run_copy): def test_stages(tmp_dir, dvc): def stages(): - return set(stage.relpath for stage in Repo(str(tmp_dir)).stages) + return set(stage.relpath for stage in Repo(fspath(tmp_dir)).stages) tmp_dir.dvc_gen({"file": "a", "dir/file": "b", "dir/subdir/file": "c"})