aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2024-02-13 13:40:40 +0300
committerGitHub <noreply@github.com>2024-02-13 11:40:40 +0100
commitccc76c3e88647e416184bb1f5210b4e8946ae358 (patch)
treef687dca067dd689f44b9231d5d0b4a678070ca45 /Lib/pydoc.py
parentca3604a3e33d833ef698b44a4b82c5bc8c771fcb (diff)
downloadcpython-ccc76c3e88647e416184bb1f5210b4e8946ae358.tar.gz
cpython-ccc76c3e88647e416184bb1f5210b4e8946ae358.zip
gh-108303: Move all `pydoc` related test files to new `test.test_pydoc` package (#114506)
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 17f7346e5cc..6d145abda9d 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -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: