Skip to content

Commit e50360c

Browse files
Add a deprecation warning filter for newer versions of NumPy
Earlier versions of Aesara still use the deprecated `np.product` function.
1 parent 4134b22 commit e50360c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def test_join_mixed_ndim_supp():
205205
],
206206
)
207207
@pytest.mark.parametrize("multivariate", (False, True))
208+
@pytest.mark.filterwarnings("ignore:`product`:DeprecationWarning")
208209
def test_measurable_dimshuffle(ds_order, multivariate):
209210
srng = at.random.RandomStream(2023532)
210211

0 commit comments

Comments
 (0)