Skip to content

Commit e377c70

Browse files
[CI/CD] Fix for doctest regression
Changes in file docs/conf.py: * fixed so linkcode_resolve doctests now pass
1 parent de1d438 commit e377c70

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ def linkcode_resolve(domain, info):
471471
472472
>>> _conf.linkcode_resolve is not None
473473
True
474-
>>> ignored_input = "docs.conf" # this is unchanged
475474
>>> test_text = "multicast.env" # this is resolved
476475
>>> bad_input = False # this is invalid
477476
>>> res_text = _conf.linkcode_resolve("py", info={"module": test_text})
@@ -485,15 +484,12 @@ def linkcode_resolve(domain, info):
485484
True
486485
>>> _conf.linkcode_resolve("py", info={"module": test_text,}) == res_text
487486
True
488-
>>> _conf.linkcode_resolve("py", info={"module": ignored_input,}) == ignored_input
489-
True
490487
>>> _conf.linkcode_resolve("py", info={"module": bad_input,}) is None
491488
True
492489
>>> len(res_text) > 0
493490
True
494491
>>>
495492
>>> # cleanup from unit-test
496-
>>> del ignored_input
497493
>>> del bad_input
498494
>>> del test_text
499495
>>> del res_text

0 commit comments

Comments
 (0)