FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-75876: Use functools.wraps() in test.support test decorators by serhiy-storchaka · Pull Request #155262 · python/cpython · GitHub

Repository navigation

gh-75876: Use functools.wraps() in test.support test decorators - #155262

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:bigmemtest-wraps
Aug 6, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:bigmemtest-wraps

Conversation

Copy link
Copy Markdown
Member

bigmemtest(), bigaddrspacetest() and no_rerun() returned a wrapper named
wrapper, so a decorator applied on top of them could not identify the test.
It blocks stacking runInSubprocess() on bigmemtest().

bigmemtest(), bigaddrspacetest() and no_rerun() returned a wrapper named
"wrapper", so a decorator applied on top of them could not identify the test.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
bedevere-app Bot mentioned this pull request Aug 6, 2026
serhiy-storchaka added skip news tests Tests in the Lib/test dir needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Aug 6, 2026
serhiy-storchaka merged commit c3aefdb into python:main Aug 6, 2026
97 of 99 checks passed

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

serhiy-storchaka deleted the bigmemtest-wraps branch August 6, 2026 15:09

bedevere-app Bot commented Aug 6, 2026

Copy link
Copy Markdown

GH-155290 is a backport of this pull request to the 3.15 branch.

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker c3aefdb9eff0734058376b96fc86d89b1a345d75 3.13

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Aug 6, 2026

bedevere-app Bot commented Aug 6, 2026

Copy link
Copy Markdown

GH-155291 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot commented Aug 7, 2026

Copy link
Copy Markdown

GH-155311 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Aug 7, 2026
serhiy-storchaka added a commit that referenced this pull request Aug 7, 2026
GH-155262) (GH-155311)

bigmemtest() and bigaddrspacetest() returned a wrapper named "wrapper", so
a decorator applied on top of them could not identify the test.
(cherry picked from commit c3aefdb)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
serhiy-storchaka added a commit that referenced this pull request Aug 7, 2026
GH-155262) (GH-155291)

bigmemtest(), bigaddrspacetest() and no_rerun() returned a wrapper named
"wrapper", so a decorator applied on top of them could not identify the test.
(cherry picked from commit c3aefdb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
hugovk pushed a commit that referenced this pull request Aug 14, 2026
GH-155262) (#155290)

gh-75876: Use functools.wraps() in test.support test decorators (GH-155262)

bigmemtest(), bigaddrspacetest() and no_rerun() returned a wrapper named
"wrapper", so a decorator applied on top of them could not identify the test.
(cherry picked from commit c3aefdb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
mbeijen pushed a commit to mbeijen/cpython that referenced this pull request Aug 14, 2026
…pythonGH-155262)

bigmemtest(), bigaddrspacetest() and no_rerun() returned a wrapper named
"wrapper", so a decorator applied on top of them could not identify the test.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL