Skip to content

array/asarray with both like= and dtype= - #11733

Merged
phofl merged 1 commit into
dask:mainfrom
crusaderky:like_dtype
Feb 10, 2025
Merged

phofl merged 1 commit into
dask:mainfrom
crusaderky:like_dtype

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

Closes #11732

Comment thread dask/array/core.py Resolved
@github-actions

github-actions Bot commented Feb 7, 2025 •

Copy link
Copy Markdown
Contributor

Unit Test Results

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

     14 files   -      1       14 suites   - 1   4h 16m 8s ⏱️ - 17m 44s
 17 707 tests +     4   16 514 ✅ +     4   1 193 💤 ±    0  0 ❌ ±0 
200 939 runs   - 17 541  184 963 ✅  - 16 258  15 976 💤  - 1 283  0 ❌ ±0 

Results for commit 0e3e49c. ± Comparison against base commit ec0c3af.

This pull request removes 4 and adds 8 tests. Note that renamed tests count towards both.
dask.array.tests.test_array_function ‑ test_like_raises[array]
dask.array.tests.test_array_function ‑ test_like_raises[asanyarray]
dask.array.tests.test_array_function ‑ test_like_raises[asarray]
dask.array.tests.test_array_function ‑ test_like_raises[tri]
dask.array.tests.test_array_function ‑ test_like[array-dask.array]
dask.array.tests.test_array_function ‑ test_like[array-numpy]
dask.array.tests.test_array_function ‑ test_like[asanyarray-dask.array]
dask.array.tests.test_array_function ‑ test_like[asanyarray-numpy]
dask.array.tests.test_array_function ‑ test_like[asarray-dask.array]
dask.array.tests.test_array_function ‑ test_like[asarray-numpy]
dask.array.tests.test_array_function ‑ test_tri_like[dask.array]
dask.array.tests.test_array_function ‑ test_tri_like[numpy]

♻️ This comment has been updated with latest results.

@crusaderky

Copy link
Copy Markdown
Collaborator Author

Ci failure is unrelated. Ready for review and merge.

@phofl
phofl merged commit 64bd3d0 into dask:main Feb 10, 2025
@phofl

phofl commented Feb 10, 2025

Copy link
Copy Markdown
Collaborator

thx

@crusaderky
crusaderky deleted the like_dtype branch February 10, 2025 12:38
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.

da.asarray(x, dtype=..., like=...) disregards dtype when x is already a Dask Array

2 participants