Skip to content

Commit f7f61ed

Browse files
committed
tests: tmpdir -> tmp_path
1 parent 022f4b0 commit f7f61ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sync/test_git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def test_remotes_preserves_git_ssh(
652652
],
653653
)
654654
def test_private_ssh_format(
655-
tmpdir: pathlib.Path,
655+
tmp_path: pathlib.Path,
656656
constructor: ProjectTestFactory,
657657
lazy_constructor_options: ProjectTestFactoryLazyKwargs,
658658
) -> None:
@@ -662,7 +662,7 @@ def test_private_ssh_format(
662662
url=git_convert_pip_url(
663663
"git+ssh://github.com:/tmp/omg/private_ssh_repo"
664664
).url,
665-
dir=tmpdir,
665+
dir=tmp_path,
666666
vcs="git",
667667
)
668668
excinfo.match(r".*is a malformed.*")

0 commit comments

Comments
 (0)