From df9f3de2317ab5f2b92755a9c4a5676c7159cc56 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 13 Dec 2019 19:15:25 -0600 Subject: [PATCH] tests/repo: stringify stage.relpath --- tests/unit/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_repo.py b/tests/unit/test_repo.py index 2e0720a45..5bc5ed6b8 100644 --- a/tests/unit/test_repo.py +++ b/tests/unit/test_repo.py @@ -67,7 +67,7 @@ def test_stages(tmp_dir, dvc): tmp_dir.dvc_gen({"file": "a", "dir/file": "b", "dir/subdir/file": "c"}) def stages(): - return [stage.relpath for stage in Repo(tmp_dir).stages] + return [str(stage.relpath) for stage in Repo(tmp_dir).stages] assert stages() == ["file.dvc", "dir/file.dvc", "dir/subdir/file.dvc"]