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

IntelPython / dpnp / 28946133161
78%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 02:36PM 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

08 Jul 2026 01:24PM UTC coverage: 78.107% (-0.003%) from 78.11%
28946133161

push

github

web-flow
Align `dpnp.tensor.expand_dims` with Python array API 2025.12 (#2988)

This PR aligns `dpnp.tensor.expand_dims` with the Python array API
specification (revision 2025.12), which defines the signature as
`expand_dims(x, /, axis)` — `axis` is a **required**
positional-or-keyword argument with no default.

Previously the tensor-level function used `expand_dims(X, /, *, axis=0)`
(`axis` keyword-only with a default of `0`), which did not match the
standard.
The public `dpnp.expand_dims` wrapper is also made positional-only for
its array argument (`(a, /, axis)`), consistent with sibling array-API
functions in the same module (`squeeze`, `reshape`, `broadcast_to`,
`stack`).

The function body was already multi-axis capable; this change updates
the signature and documentation to match, and closes gaps in test
coverage.

1532 of 2854 branches covered (53.68%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

25993 of 32386 relevant lines covered (80.26%)

8025.58 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
86.29
-0.27% dpnp/tensor/_elementwise_common.py
Jobs
ID Job ID Ran Files Coverage
1 28946133161.1 08 Jul 2026 02:36PM UTC 258
78.11
GitHub Action Run
Source Files on build 28946133161
  • Tree
  • List 258
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28946133161
  • edda84df on github
  • Prev Build on master (#28928459980)
  • Next Build on master (#28958404127)
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