We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0941ebb commit 8f915fbCopy full SHA for 8f915fb
dpnp/tests/test_sort.py
@@ -35,7 +35,7 @@ def test_axis(self, axis):
35
ia = dpnp.array(a)
36
37
result = dpnp.argsort(ia, axis=axis)
38
- expected = numpy.argsort(a, axis=axis)
+ expected = numpy.argsort(a, axis=axis, kind="stable")
39
assert_array_equal(result, expected)
40
41
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))
@@ -295,7 +295,7 @@ def test_axis(self, axis):
295
296
297
result = dpnp.sort(ia, axis=axis)
298
- expected = numpy.sort(a, axis=axis)
+ expected = numpy.sort(a, axis=axis, kind="stable")
299
300
301
0 commit comments