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

IntelPython / dpnp / 26357963747
78%

Build:
DEFAULT BRANCH: master
Ran 24 May 2026 10:53AM UTC
Jobs 1
Files 261
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

24 May 2026 09:47AM UTC coverage: 78.242% (+0.005%) from 78.237%
26357963747

push

github

web-flow
Add boolean mask validation when slicing (#2929)

This PR proposes the addition of validation for the shape of masks when
slicing `tensor.usm_ndarray`s and `dpnp_array`s.

This aligns with NumPy for specific edge cases, such as:
```
import dpnp.tensor as dpt

x = dpt.reshape(dpt.arange(3**5, dtype="i4"), (3,) * 5)
ii = dpt.asarray(1)
i0 = dpt.asarray(0, dtype='?')
i1 = dpt.asarray(0, dtype='?')

x[ii, i0[dpt.newaxis], ii, i1[dpt.newaxis], :]
```

which previously would give `usm_ndarray([], dtype=int32)`, but now
raises an error, which aligns with NumPy.

1539 of 2874 branches covered (53.55%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

26431 of 32874 relevant lines covered (80.4%)

7900.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
89.77
-0.03% dpnp/tensor/_slicing.pxi

Coverage Regressions

Lines Coverage ∆ File
1
89.77
-0.03% dpnp/tensor/_slicing.pxi
Jobs
ID Job ID Ran Files Coverage
1 26357963747.1 24 May 2026 10:53AM UTC 261
78.24
GitHub Action Run
Source Files on build 26357963747
  • Tree
  • List 261
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26357963747
  • 06698906 on github
  • Prev Build on master (#26343752488)
  • Next Build on master (#26363031806)
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