示例#1
0
 def test_msort_unsupported_dtype(self, dtype):
     a = testing.shaped_random((10, ), cupy, dtype)
     with self.assertRaises(NotImplementedError):
         return cupy.msort(a)
示例#2
0
文件: test_sort.py 项目: jo7ueb/cupy
 def test_msort_two_or_more_dim(self):
     a = testing.shaped_random((2, 3), cupy)
     with self.assertRaises(ValueError):
         return cupy.msort(a)