def test_msort_unsupported_dtype(self, dtype): a = testing.shaped_random((10, ), cupy, dtype) with self.assertRaises(NotImplementedError): return cupy.msort(a)
def test_msort_two_or_more_dim(self): a = testing.shaped_random((2, 3), cupy) with self.assertRaises(ValueError): return cupy.msort(a)