Remove duplicate broadcast test
@@ -52,20 +52,6 @@ class TestDims(unittest.TestCase):
c, d = xp.broadcast_arrays(a, b)
return d
- def test_broadcast(self):
- a = testing.shaped_arange((2, 1, 3, 4))
- b = testing.shaped_arange((3, 1, 4))
- bc = cupy.broadcast(a, b)
- self.assertEqual((2, 3, 3, 4), bc.shape)
- self.assertEqual(2 * 3 * 3 * 4, bc.size)
- self.assertEqual(4, bc.nd)
-
- @testing.numpy_cupy_raises()
- def test_broadcast_fail(self, xp):
- a = xp.zeros((2, 3))
- b = xp.zeros((3, 2))
- xp.broadcast(a, b)
-
@testing.with_requires('numpy>=1.10')
@testing.for_all_dtypes()
@testing.numpy_cupy_array_equal()
