mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-108303: Move all pydoc
related test files to new test.test_pydoc
package (#114506)
This commit is contained in:
parent
ca3604a3e3
commit
ccc76c3e88
7 changed files with 34 additions and 27 deletions
|
@ -552,7 +552,7 @@ class Doc:
|
|||
'_thread', 'zipimport') or
|
||||
(file.startswith(basedir) and
|
||||
not file.startswith(os.path.join(basedir, 'site-packages')))) and
|
||||
object.__name__ not in ('xml.etree', 'test.pydoc_mod')):
|
||||
object.__name__ not in ('xml.etree', 'test.test_pydoc.pydoc_mod')):
|
||||
if docloc.startswith(("http://", "https://")):
|
||||
docloc = "{}/{}.html".format(docloc.rstrip("/"), object.__name__.lower())
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue