Skip to content

TST: avoid allocating huge tuple of arrays in concatenate test - #32325

Merged
charris merged 1 commit into
numpy:mainfrom
ngoldbaum:fix-huge-sequence-test
Aug 17, 2026
Merged

charris merged 1 commit into
numpy:mainfrom
ngoldbaum:fix-huge-sequence-test

Conversation

@ngoldbaum

Copy link
Copy Markdown
Member

PR summary

This test is causing flaky CI: https://github.com/numpy/numpy/actions/runs/31394421923/job/93475396840?pr=32239

Given that the test is mostly there to make sure the error path fires, I think it's OK to call _implementation directly. As a bonus I can remove all the slow, thread-unsafe, and requires lots of RAM pytest markers.

AI Disclosure

I used an AI to understand why this test was so slow on CI (it's causing the CI runners to swap).

@ngoldbaum ngoldbaum added 05 - Testing 09 - Backport-Candidate PRs tagged should be backported labels Aug 17, 2026
@charris
charris merged commit 8ccf73e into numpy:main Aug 17, 2026
90 checks passed
@charris

charris commented Aug 17, 2026

Copy link
Copy Markdown
Member

Thanks Nathan.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 18, 2026
charris added a commit that referenced this pull request Aug 18, 2026
TST: avoid allocating huge tuple of arrays in concatenate test (#32325)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants