https://github.com/python/cpython/commit/ba16ba3a18e86e094bcd215892b49fb08c74ec0a
commit: ba16ba3a18e86e094bcd215892b49fb08c74ec0a
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-05-02T13:04:27Z
summary:
gh-133210: Fix `test_descr` in `--without-doc-strings` mode (#133294)
files:
M Lib/test/test_descr.py
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__,
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]