From 3e3d792372a4ae2a817a8f6269c802ec3306382a 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 (GH-133294) (cherry picked from commit ba16ba3a18e86e094bcd215892b49fb08c74ec0a) Co-authored-by: sobolevn --- 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 ebea459f1ac6b7..be49ce8c0660af 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1588,7 +1588,7 @@ def f(cls, arg): cm_dict = {'__annotations__': {}, '__doc__': ( "f docstring" - if support.HAVE_DOCSTRINGS + if support.HAVE_PY_DOCSTRINGS else None ), '__module__': __name__,