diff --git a/dpnp/dpnp_iface_mathematical.py b/dpnp/dpnp_iface_mathematical.py index a7eaf65fbabb..443ad7c43da9 100644 --- a/dpnp/dpnp_iface_mathematical.py +++ b/dpnp/dpnp_iface_mathematical.py @@ -224,8 +224,7 @@ def _gradient_num_diff_2nd_order_interior( # fix the shape for broadcasting shape = [1] * ndim shape[axis] = -1 - # TODO: use shape.setter once dpctl#1699 is resolved - # a.shape = b.shape = c.shape = shape + a = a.reshape(shape) b = b.reshape(shape) c = c.reshape(shape) diff --git a/tests/third_party/cupy/core_tests/test_ndarray.py b/tests/third_party/cupy/core_tests/test_ndarray.py index 975e75e12506..591495ae9f95 100644 --- a/tests/third_party/cupy/core_tests/test_ndarray.py +++ b/tests/third_party/cupy/core_tests/test_ndarray.py @@ -272,7 +272,8 @@ def test_shape_set(self, xp): return xp.array(arr.shape) @pytest.mark.skip( - "dpctl-1699: shape setter does not work with negative shape" + "dpctl-1699: shape setter does not work with negative shape " + "(no plan to support that)" ) @testing.numpy_cupy_array_equal() def test_shape_set_infer(self, xp):