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