From 1b0cdbce4f2d926d1a5c03c4f09d424accadecd3 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Fri, 2 May 2025 15:38:56 +0300 Subject: [PATCH] gh-133210: Fix `test_descr` in `--without-doc-strings` mode --- 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 8e9d44a583cb31..76937432a43037 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1589,7 +1589,7 @@ def f(cls, arg): cm = classmethod(f) cm_dict = {'__doc__': ( "f docstring" - if support.HAVE_DOCSTRINGS + if support.HAVE_PY_DOCSTRINGS else None ), '__module__': __name__,