bpo-46523: fix tests rerun when `setUp[Class|Module]` fails by sobolevn · Pull Request #30895 · python/cpython · GitHub

github.com

Tin mới

sobolevn:issue-46523

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

https://gist.github.com/sobolevn/adcaf0d470226b8644f70ef81178e028

https://gist.github.com/sobolevn/acf04e0f7ea785e1fa4c45a94f545743

https://gist.github.com/sobolevn/acf04e0f7ea785e1fa4c45a94f545743

https://gist.github.com/sobolevn/adcaf0d470226b8644f70ef81178e028

bpo-46523: fix tests rerun when setUp[Class|Module] fails

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/python/cpython/runs/4943128810?check_suite_focus=true#step:5:1483

It failed as intended: https://github.com/python/cpython/runs/4943128810?check_suite_focus=true#step:5:1483 🎉

needs backport to 3.9

needs backport to 3.9

needs backport to 3.10

needs backport to 3.10

Merge branch 'main' into issue-46523

Merge branch 'main' into issue-46523

needs backport to 3.11

needs backport to 3.11

View reviewed changes

Merge branch 'main' into issue-46523

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL7 LTO + PGO 3.x has failed when building commit 9953860.

[3.11] bpo-46523: fix tests rerun when

[3.11] bpo-46523: fix tests rerun when `setUp[Class|Module]` fails (GH-30895) (GH-103342) (cherry picked from commit 995386071f96e4cfebfa027a71ca9134e4651d2a) Co-authored-by: Nikita Sobolev <[email protected]>

bpo-46523: fix tests rerun when

Test suite skips failing tests when setUp[Class] fails #90681

Revert "[3.11] bpo-46523: fix tests rerun when setUp[Class|Module] …

bpo-46523: fix tests rerun when

[3.11] gh-108822: Backport libregrtest changes from the main branch #108820

: Backport libregrtest changes from the main branch (

emscripten-core/emscripten#17269