gh-133210: Fix test_descr
in --without-doc-strings
mode (#133294)
This commit is contained in:
parent
641253cfac
commit
ba16ba3a18
@ -1589,7 +1589,7 @@ class ClassPropertiesAndMethods(unittest.TestCase):
|
||||
cm = classmethod(f)
|
||||
cm_dict = {'__doc__': (
|
||||
"f docstring"
|
||||
if support.HAVE_DOCSTRINGS
|
||||
if support.HAVE_PY_DOCSTRINGS
|
||||
else None
|
||||
),
|
||||
'__module__': __name__,
|
||||
|
Loading…
x
Reference in New Issue
Block a user