Skip to content

Commit 2e342bd

Browse files
committed
Remove faulty matmul type promotion test
1 parent b53a754 commit 2e342bd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

array_api_tests/test_type_promotion.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,6 @@ def test_where(in_dtypes, out_dtype, shapes, data):
224224
numeric_promotion_params = promotion_params[1:]
225225

226226

227-
@pytest.mark.parametrize('in_dtypes, out_dtype', numeric_promotion_params)
228-
@given(shapes=hh.mutually_broadcastable_shapes(2, min_dims=1), data=st.data())
229-
def test_matmul(in_dtypes, out_dtype, shapes, data):
230-
x1 = data.draw(xps.arrays(dtype=in_dtypes[0], shape=shapes[0]), label='x1')
231-
x2 = data.draw(xps.arrays(dtype=in_dtypes[1], shape=shapes[1]), label='x2')
232-
out = xp.matmul(x1, x2)
233-
assert_dtype(f'matmul({fmt_types(in_dtypes)})', 'out.dtype', out.dtype, out_dtype)
234-
235-
236227
@pytest.mark.parametrize('in_dtypes, out_dtype', numeric_promotion_params)
237228
@given(shapes=hh.mutually_broadcastable_shapes(2, min_dims=2), data=st.data())
238229
def test_tensordot(in_dtypes, out_dtype, shapes, data):

0 commit comments

Comments
 (0)