From: sobolevn Date: Fri, 2 May 2025 13:04:27 +0000 (+0300) Subject: gh-133210: Fix `test_descr` in `--without-doc-strings` mode (#133294) X-Git-Tag: v3.14.0b1~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba16ba3a18e86e094bcd215892b49fb08c74ec0a;p=thirdparty%2FPython%2Fcpython.git gh-133210: Fix `test_descr` in `--without-doc-strings` mode (#133294) --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 8e9d44a583cb..76937432a430 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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__,