Skip to content

Commit b20466b

Browse files
nit
1 parent bd181b9 commit b20466b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_value_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ def test_ufunc() -> None:
274274
x = np.float64(0.42)
275275
y = tu.GHz * np.arange(4)[1:]
276276

277-
assert np.multiply(x, y).allclose(np.multiply(y, x))
278-
assert np.divide(x, y).allclose(np.divide(np.int64(1), np.divide(y, x)))
277+
assert np.multiply(x, y).allclose(np.multiply(y, x)) # type: ignore[union-attr]
278+
assert np.divide(x, y).allclose(np.divide(np.int64(1), np.divide(y, x))) # type: ignore[union-attr]
279279

280280
with pytest.raises(UnitMismatchError):
281281
_ = np.add(x, y)

0 commit comments

Comments
 (0)