Skip to content

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

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:bigmemtest-wraps
Open

gh-75876: Use functools.wraps() in test.support test decorators#155262
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:bigmemtest-wraps

Conversation

@serhiy-storchaka

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 bedevere-app Bot mentioned this pull request Aug 6, 2026
@serhiy-storchaka serhiy-storchaka added skip news tests Tests in the Lib/test dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant