From d2469f7a1f7c582d437b20ce6ffc2ffd5e912de6 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Tue, 17 Dec 2019 12:04:37 -0600 Subject: [PATCH] tests/repo: str -> fspath --- tests/func/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"})