From 6a919d048826bdd9ac72c447011426a74c9a61d3 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 2 May 2025 15:27:30 +0200 Subject: [PATCH] [3.13] gh-133210: Fix `test_descr` in `--without-doc-strings` mode (GH-133294) (#133298) 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 ebea459f1ac6..be49ce8c0660 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1588,7 +1588,7 @@ class ClassPropertiesAndMethods(unittest.TestCase, ExtraAssertions): cm_dict = {'__annotations__': {}, '__doc__': ( "f docstring" - if support.HAVE_DOCSTRINGS + if support.HAVE_PY_DOCSTRINGS else None ), '__module__': __name__, -- 2.47.3