Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: Fix test that uses uninitialized memory #29232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

seberg
Copy link
Member

@seberg seberg commented Jun 19, 2025

Tests should avoid this generally, this one is worse, since it can even fail due to warnings.

Tests should avoid this generally, this one is worse, since it can
even fail due to warnings.
@seberg seberg force-pushed the tst-fixup-uninitialized branch from 0c3a70e to 7769009 Compare June 19, 2025 10:44
@charris charris merged commit 35079af into numpy:main Jun 19, 2025
76 checks passed
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
@seberg seberg deleted the tst-fixup-uninitialized branch June 19, 2025 12:36
@mattip
Copy link
Member

mattip commented Jun 19, 2025

Nice. Is this from valgrind?

@seberg
Copy link
Member Author

seberg commented Jun 19, 2025

Unfortunately not, although valgrind would have shown it. My other PR actually failed tests on this.

charris pushed a commit to charris/numpy that referenced this pull request Jun 19, 2025
Tests should avoid this generally, this one is worse, since it can
even fail due to warnings.
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
charris added a commit that referenced this pull request Jun 19, 2025
TST: Fix test that uses unininitialized memory (#29232)
@charris charris changed the title TST: Fix test that uses unininitialized memory TST: Fix test that uses uninitialized memory Jun 20, 2025
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