]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-75876: Use functools.wraps() in test.support test decorators (GH-155262)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 6 Aug 2026 15:09:22 +0000 (18:09 +0300)
committerGitHub <noreply@github.com>
Thu, 6 Aug 2026 15:09:22 +0000 (18:09 +0300)
commitc3aefdb9eff0734058376b96fc86d89b1a345d75
tree2f8af7b3b909006f2308f09234e89d2e48b3e6b6
parent5965f08d702aadfc5ae51134c22261cefbc82da5
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.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Lib/test/support/__init__.py