Skip to content

Commit 48d5585

Browse files
committed
test: fix incorrect type annotation
1 parent 9d205d2 commit 48d5585

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_repo_synchronizer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def git_source(hg_destination: Path, tmp_path: Path) -> Path:
7272

7373
@pytest.mark.parametrize("existing_tags_branch", [False, True])
7474
def test_sync_process(
75-
git_source: Repo,
75+
git_source: Path,
7676
hg_destination: Path,
7777
tmp_path: Path,
7878
existing_tags_branch: bool,
@@ -157,7 +157,7 @@ def test_sync_process(
157157

158158

159159
def test_sync_process_duplicate_tags(
160-
git_source: Repo,
160+
git_source: Path,
161161
hg_destination: Path,
162162
tmp_path: Path,
163163
monkeypatch: pytest.MonkeyPatch,
@@ -217,7 +217,7 @@ def test_sync_process_duplicate_tags(
217217

218218

219219
def test_sync_process_no_duplicate_tags_on_error(
220-
git_source: Repo,
220+
git_source: Path,
221221
hg_destination: Path,
222222
tmp_path: Path,
223223
) -> None:
@@ -278,7 +278,7 @@ def test_sync_process_no_duplicate_tags_on_error(
278278

279279
def test_sync_process_multiple_destinations(
280280
make_hg_repo: Callable,
281-
git_source: Repo,
281+
git_source: Path,
282282
hg_destination: Path,
283283
tmp_path: Path,
284284
monkeypatch: pytest.MonkeyPatch,

0 commit comments

Comments
 (0)