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__,