mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Upgrade to modern Python syntax (#6296)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user