mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
tests/repo: str -> fspath
This commit is contained in:
@@ -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"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user