@@ -334,7 +334,7 @@ def git_repo(projects_path: pathlib.Path, git_remote_repo: pathlib.Path):
334
334
335
335
@pytest .fixture (autouse = True )
336
336
def add_doctest_fixtures (
337
- doctest_namespace : dict [str , Any ],
337
+ xdoctest_namespace : dict [str , Any ],
338
338
tmp_path : pathlib .Path ,
339
339
home_default : pathlib .Path ,
340
340
gitconfig : pathlib .Path ,
@@ -343,20 +343,20 @@ def add_doctest_fixtures(
343
343
create_hg_remote_repo : CreateProjectCallbackFixtureProtocol ,
344
344
git_repo : pathlib .Path ,
345
345
):
346
- doctest_namespace ["tmp_path" ] = tmp_path
346
+ xdoctest_namespace ["tmp_path" ] = tmp_path
347
347
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 (
350
350
create_git_remote_repo ,
351
351
remote_repo_post_init = git_remote_repo_single_commit_post_init ,
352
352
)
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
355
355
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
357
357
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 (
360
360
create_hg_remote_repo ,
361
361
remote_repo_post_init = hg_remote_repo_single_commit_post_init ,
362
362
)
0 commit comments