Skip to content

Commit 1775a82

Browse files
committed
Add a comment to the test
1 parent a8493e3 commit 1775a82

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dpnp/tests/test_manipulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,8 @@ def test_multiple_axes(self, shape, axis, trim):
15431543
expected = numpy.trim_zeros(a, axis=axis, trim=trim)
15441544
assert_array_equal(result, expected)
15451545

1546+
# NOTE: numpy behaves differently on 0-sized input array
1547+
# and returns the input array with reduced shapes
15461548
@pytest.mark.parametrize("axis", [None, -1, 0])
15471549
@pytest.mark.parametrize("trim", ALL_TRIMS)
15481550
def test_empty_array(self, axis, trim):

0 commit comments

Comments
 (0)