Skip to content

Commit

Permalink
Add a deprecation warning filter for newer versions of NumPy
Browse files Browse the repository at this point in the history
Earlier versions of Aesara still use the deprecated `np.product` function.
  • Loading branch information
brandonwillard committed Jun 28, 2023
1 parent 4134b22 commit e50360c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def test_join_mixed_ndim_supp():
],
)
@pytest.mark.parametrize("multivariate", (False, True))
@pytest.mark.filterwarnings("ignore:`product`:DeprecationWarning")
def test_measurable_dimshuffle(ds_order, multivariate):
srng = at.random.RandomStream(2023532)

Expand Down

0 comments on commit e50360c

Please sign in to comment.