Example #1
0
 def test_array_str(self):
     a = testing.shaped_arange((2, 3, 4), cupy)
     b = testing.shaped_arange((2, 3, 4), numpy)
     self.assertEqual(cupy.array_str(a), numpy.array_str(b))
Example #2
0
 def test_array_str(self):
     a = testing.shaped_arange((2, 3, 4), cupy)
     b = testing.shaped_arange((2, 3, 4), numpy)
     assert cupy.array_str(a) == numpy.array_str(b)