From ba16ba3a18e86e094bcd215892b49fb08c74ec0a Mon Sep 17 00:00:00 2001 From: sobolevn Date: Fri, 2 May 2025 16:04:27 +0300 Subject: [PATCH] gh-133210: Fix `test_descr` in `--without-doc-strings` mode (#133294) --- Lib/test/test_descr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__, -- 2.47.3