diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2025-02-04 14:25:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 14:25:49 (GMT) |
commit | 979d76620990e6f8d68fa63e0ae0db1ec5b4d14c (patch) | |
tree | 64194c4fb9bc31fedd871639b71278b3b6ee1c4f /Lib/test/test_pydoc/test_pydoc.py | |
parent | 8b5c8508c7f5d98b09792e159ef2396c73da68cd (diff) | |
download | cpython-979d76620990e6f8d68fa63e0ae0db1ec5b4d14c.zip cpython-979d76620990e6f8d68fa63e0ae0db1ec5b4d14c.tar.gz cpython-979d76620990e6f8d68fa63e0ae0db1ec5b4d14c.tar.bz2 |
gh-128772: Fix pydoc for methods with __module__ is None (GH-129177)
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
-rw-r--r-- | Lib/test/test_pydoc/test_pydoc.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_pydoc/test_pydoc.py b/Lib/test/test_pydoc/test_pydoc.py index b02ba3a..0abd36c 100644 --- a/Lib/test/test_pydoc/test_pydoc.py +++ b/Lib/test/test_pydoc/test_pydoc.py @@ -1903,6 +1903,11 @@ foo html ) + def test_module_none(self): + # Issue #128772 + from test.test_pydoc import module_none + pydoc.render_doc(module_none) + class PydocFodderTest(unittest.TestCase): def tearDown(self): |