tests/repo: str -> fspath

This commit is contained in:
Mr. Outis
2019-12-17 12:04:37 -06:00
parent 1bd66fa859
commit d2469f7a1f
+1 -1
View File
@@ -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"})