mirror of
https://github.com/python/cpython.git
synced 2025-10-29 01:22:59 +00:00
gh-81682: Fix test failures when CPython is built without docstrings (GH-113410)
This commit is contained in:
parent
c3f92f6a75
commit
4e5b27e6a3
12 changed files with 55 additions and 21 deletions
|
|
@ -30,7 +30,7 @@ class ModuleTests(unittest.TestCase):
|
|||
self.fail("__name__ = %s" % repr(s))
|
||||
except AttributeError:
|
||||
pass
|
||||
self.assertEqual(foo.__doc__, ModuleType.__doc__)
|
||||
self.assertEqual(foo.__doc__, ModuleType.__doc__ or '')
|
||||
|
||||
def test_uninitialized_missing_getattr(self):
|
||||
# Issue 8297
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue