Skip to content

Commit 0c03baa

Browse files
committed
test(doctest): doctest -> xdoctest namespace
1 parent eba2c1f commit 0c03baa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

libvcs/conftest.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def git_repo(projects_path: pathlib.Path, git_remote_repo: pathlib.Path):
334334

335335
@pytest.fixture(autouse=True)
336336
def add_doctest_fixtures(
337-
doctest_namespace: dict[str, Any],
337+
xdoctest_namespace: dict[str, Any],
338338
tmp_path: pathlib.Path,
339339
home_default: pathlib.Path,
340340
gitconfig: pathlib.Path,
@@ -343,20 +343,20 @@ def add_doctest_fixtures(
343343
create_hg_remote_repo: CreateProjectCallbackFixtureProtocol,
344344
git_repo: pathlib.Path,
345345
):
346-
doctest_namespace["tmp_path"] = tmp_path
346+
xdoctest_namespace["tmp_path"] = tmp_path
347347
if which("git"):
348-
doctest_namespace["gitconfig"] = gitconfig
349-
doctest_namespace["create_git_remote_repo"] = functools.partial(
348+
xdoctest_namespace["gitconfig"] = gitconfig
349+
xdoctest_namespace["create_git_remote_repo"] = functools.partial(
350350
create_git_remote_repo,
351351
remote_repo_post_init=git_remote_repo_single_commit_post_init,
352352
)
353-
doctest_namespace["create_git_remote_repo_bare"] = create_git_remote_repo
354-
doctest_namespace["git_local_clone"] = git_repo
353+
xdoctest_namespace["create_git_remote_repo_bare"] = create_git_remote_repo
354+
xdoctest_namespace["git_local_clone"] = git_repo
355355
if which("svn"):
356-
doctest_namespace["create_svn_remote_repo"] = create_svn_remote_repo
356+
xdoctest_namespace["create_svn_remote_repo"] = create_svn_remote_repo
357357
if which("hg"):
358-
doctest_namespace["create_hg_remote_repo_bare"] = create_hg_remote_repo
359-
doctest_namespace["create_hg_remote_repo"] = functools.partial(
358+
xdoctest_namespace["create_hg_remote_repo_bare"] = create_hg_remote_repo
359+
xdoctest_namespace["create_hg_remote_repo"] = functools.partial(
360360
create_hg_remote_repo,
361361
remote_repo_post_init=hg_remote_repo_single_commit_post_init,
362362
)

0 commit comments

Comments
 (0)