Skip to content

Commit 6029dbb

Browse files
committed
pytest_plugin(add_doctest_fixtures) Remove hgconfig and gitconfig (unused)
1 parent 37861b0 commit 6029dbb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,6 @@ def add_doctest_fixtures(
709709
doctest_namespace: dict[str, Any],
710710
tmp_path: pathlib.Path,
711711
set_home: pathlib.Path,
712-
gitconfig: pathlib.Path,
713-
hgconfig: pathlib.Path,
714712
create_git_remote_repo: CreateRepoPytestFixtureFn,
715713
create_svn_remote_repo: CreateRepoPytestFixtureFn,
716714
create_hg_remote_repo: CreateRepoPytestFixtureFn,
@@ -723,7 +721,6 @@ def add_doctest_fixtures(
723721
return
724722
doctest_namespace["tmp_path"] = tmp_path
725723
if shutil.which("git"):
726-
doctest_namespace["gitconfig"] = gitconfig
727724
doctest_namespace["create_git_remote_repo"] = functools.partial(
728725
create_git_remote_repo,
729726
remote_repo_post_init=git_remote_repo_single_commit_post_init,
@@ -738,7 +735,6 @@ def add_doctest_fixtures(
738735
remote_repo_post_init=svn_remote_repo_single_commit_post_init,
739736
)
740737
if shutil.which("hg"):
741-
doctest_namespace["hgconfig"] = hgconfig
742738
doctest_namespace["create_hg_remote_repo_bare"] = create_hg_remote_repo
743739
doctest_namespace["create_hg_remote_repo"] = functools.partial(
744740
create_hg_remote_repo,

0 commit comments

Comments
 (0)