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 = classmethod(f)
|
||||||
cm_dict = {'__doc__': (
|
cm_dict = {'__doc__': (
|
||||||
"f docstring"
|
"f docstring"
|
||||||
if support.HAVE_DOCSTRINGS
|
if support.HAVE_PY_DOCSTRINGS
|
||||||
else None
|
else None
|
||||||
),
|
),
|
||||||
'__module__': __name__,
|
'__module__': __name__,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user