Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dpnp/tests/test_binary_ufuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def test_invalid_shape(self, func, shape):
with pytest.raises(ValueError):
getattr(dpnp, func)(a, b, out=out)

@pytest.mark.filterwarnings("ignore::DeprecationWarning")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to pass out=out to mitigate that issue rather than muting warning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numpy.minimum(q,w,out=())
ValueError: The 'out' tuple must have exactly one entry per ufunc output

numpy.minimum(q,w,out=(1,2))
ValueError: The 'out' tuple must have exactly one entry per ufunc output

@pytest.mark.parametrize("xp", [dpnp, numpy])
@pytest.mark.parametrize(
"out",
Expand Down
Loading