Skip to content

Commit

Permalink
Add two no-member ignores to work around spurious pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jul 1, 2024
1 parent 5810fba commit 78b43c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1178,8 +1178,8 @@ def test_vdot(ctx_factory, a_shape, b_shape, a_dtype, b_dtype):
np_result = np.vdot(a_in, b_in)
_, (pt_result,) = pt.generate_loopy(pt.vdot(a, b))(cq)

assert pt_result.shape == np_result.shape
assert pt_result.dtype == np_result.dtype
assert pt_result.shape == np_result.shape # pylint: disable=no-member
assert pt_result.dtype == np_result.dtype # pylint: disable=no-member
np.testing.assert_allclose(np_result, pt_result, rtol=1e-6)


Expand Down

0 comments on commit 78b43c1

Please sign in to comment.