Upgrade to modern Python syntax (#6296)

This commit is contained in:
Christian Clauss
2021-07-19 01:30:37 +03:00
committed by GitHub
parent 6711b647d9
commit d8b67f6f78
50 changed files with 68 additions and 89 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ def test_get_pipeline_tracked_outs(
dvc.scm.commit("add pipeline stage")
with git_dir.chdir():
Repo.get("file:///{}".format(os.fspath(tmp_dir)), "bar", out="baz")
Repo.get(f"file:///{os.fspath(tmp_dir)}", "bar", out="baz")
assert (git_dir / "baz").read_text() == "foo"