diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-02-13 13:40:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 11:40:40 +0100 |
commit | ccc76c3e88647e416184bb1f5210b4e8946ae358 (patch) | |
tree | f687dca067dd689f44b9231d5d0b4a678070ca45 /Lib/pydoc.py | |
parent | ca3604a3e33d833ef698b44a4b82c5bc8c771fcb (diff) | |
download | cpython-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-x | Lib/pydoc.py | 2 |
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: |