Skip to content

Fix warning in test_ufunc_where_no_out#12094

Merged
jacobtomlinson merged 1 commit intodask:mainfrom
TomAugspurger:tom/fix-where-out
Oct 7, 2025
Merged

Fix warning in test_ufunc_where_no_out#12094
jacobtomlinson merged 1 commit intodask:mainfrom
TomAugspurger:tom/fix-where-out

Conversation

@TomAugspurger
Copy link
Copy Markdown
Member

With numpy dev, this test errors with a warning:

>       expected = np.add(left, right, where=where)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       UserWarning: 'where' used without 'out', expect unitialized memory in output. If this is intentional, use out=None.

This should resolve the last issue in #12076

With numpy dev, this test errors with a warning:

```
>       expected = np.add(left, right, where=where)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       UserWarning: 'where' used without 'out', expect unitialized memory in output. If this is intentional, use out=None.

```
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 7, 2025

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

      9 files  ±0        9 suites  ±0   3h 22m 10s ⏱️ + 12m 14s
 18 073 tests ±0   16 856 ✅ ±0   1 217 💤 ±0  0 ❌ ±0 
161 731 runs  ±0  149 614 ✅ +1  12 117 💤  - 1  0 ❌ ±0 

Results for commit 5db6713. ± Comparison against base commit 4736a38.

@jacobtomlinson jacobtomlinson merged commit a04180c into dask:main Oct 7, 2025
24 of 25 checks passed
@TomAugspurger TomAugspurger deleted the tom/fix-where-out branch October 7, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants