Skip to content

Commit 721334d

Browse files
authored
Merge branch 'master' into dependabot/github_actions/github/codeql-action-3.28.17
2 parents 24ace0c + 60830e1 commit 721334d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dpnp/tests/test_ndarray.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def test_print_dpnp_special_character(character):
333333
def test_print_dpnp_1d():
334334
dtype = dpnp.default_float_type()
335335
result = repr(dpnp.arange(10000, dtype=dtype))
336-
expected = "array([0.000e+00, 1.000e+00, 2.000e+00, ..., 9.997e+03, 9.998e+03,\n 9.999e+03])"
336+
expected = "array([0.000e+00, 1.000e+00, 2.000e+00, ..., 9.997e+03, 9.998e+03,\n 9.999e+03], shape=(10000,))"
337337
if not has_support_aspect64():
338338
expected = expected[:-1] + ", dtype=float32)"
339339
assert result == expected
@@ -361,9 +361,9 @@ def test_print_dpnp_2d():
361361
def test_print_dpnp_zero_shape():
362362
result = repr(dpnp.empty(shape=(0, 0)))
363363
if has_support_aspect64():
364-
expected = "array([])"
364+
expected = "array([], shape=(0, 0), dtype=float64)"
365365
else:
366-
expected = "array([], dtype=float32)"
366+
expected = "array([], shape=(0, 0), dtype=float32)"
367367
assert result == expected
368368

369369
result = str(dpnp.empty(shape=(0, 0)))

environments/build_with_oneapi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ dependencies:
77
- ninja
88
- numpy
99
- pytest
10+
- setuptools=79.0.1
1011
- scikit-build

0 commit comments

Comments
 (0)