Skip to content

Commit 6a919d0

Browse files
[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 ba16ba3) Co-authored-by: sobolevn <[email protected]>
1 parent b225ce7 commit 6a919d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_descr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ def f(cls, arg):
15881588
cm_dict = {'__annotations__': {},
15891589
'__doc__': (
15901590
"f docstring"
1591-
if support.HAVE_DOCSTRINGS
1591+
if support.HAVE_PY_DOCSTRINGS
15921592
else None
15931593
),
15941594
'__module__': __name__,

0 commit comments

Comments
 (0)