• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 27950672832
78%

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2026 01:01PM UTC
Jobs 1
Files 258
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jun 2026 11:53AM UTC coverage: 78.082% (-0.009%) from 78.091%
27950672832

push

github

web-flow
Allow same-kind casting of the result into `out` in dpnp.take and dpnp.compress (#2959)

Previously `dpnp.take` and `dpnp.compress` raised a `TypeError` whenever
the provided `out` array had a dtype different from the input array
(strictly
[followed](https://data-apis.org/array-api/latest/API_specification/generated/array_api.take.html)
Python array API):
> out (array) – an array having the same data type as x.

This PR relaxes that check to allow casting the result into an `out`
array of a **different but same-kind** dtype (e.g. `int32` -> `int64`,
`int32` -> `float32`), aligning the behavior closer to dpnp
documentation
[clamming](https://intelpython.github.io/dpnp/reference/generated/dpnp.take.html):
> It should be of the appropriate shape and dtype.

and aligning with recent changes done in NumPy 2.5.

1532 of 2854 branches covered (53.68%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

25973 of 32372 relevant lines covered (80.23%)

8009.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
74.11
-0.48% dpnp/tensor/_usmarray.pyx
1
86.29
-0.27% dpnp/tensor/_elementwise_common.py
Jobs
ID Job ID Ran Files Coverage
1 27950672832.1 22 Jun 2026 01:01PM UTC 258
78.08
GitHub Action Run
Source Files on build 27950672832
  • Tree
  • List 258
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27950672832
  • c415cd65 on github
  • Prev Build on master (#27888188004)
  • Next Build on master (#27958564933)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc