8000 [3.11] gh-115249: Fix `test_descr` with `-OO` mode (GH-115250) by miss-islington · Pull Request #115278 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] gh-115249: Fix test_descr with -OO mode (GH-115250) #115278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-115249: Fix test_descr with -OO mode (GH-115250)
(cherry picked from commit 1f23837)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
sobolevn authored and miss-islington committed Feb 11, 2024
commit 13f6c40678fc71f6d6a4fdfa541d87b614b893fb
6 changes: 5 additions & 1 deletion Lib/test/test_descr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,11 @@ def f(cls, arg):

cm = classmethod(f)
cm_dict = {'__annotations__': {},
'__doc__': "f docstring",
'__doc__': (
"f docstring"
if support.HAVE_DOCSTRINGS
else None
),
'__module__': __name__,
'__name__': 'f',
'__qualname__': f.__qualname__}
Expand Down
0