diff options
Diffstat (limited to 'numpy/lib/tests/test_financial_expired.py')
-rw-r--r-- | numpy/lib/tests/test_financial_expired.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_financial_expired.py b/numpy/lib/tests/test_financial_expired.py index 66bb08026..70b0cd790 100644 --- a/numpy/lib/tests/test_financial_expired.py +++ b/numpy/lib/tests/test_financial_expired.py @@ -7,7 +7,7 @@ import numpy as np reason="requires python 3.7 or higher") def test_financial_expired(): match = 'NEP 32' - with pytest.warns(RuntimeWarning, match=match): + with pytest.warns(DeprecationWarning, match=match): func = np.fv with pytest.raises(RuntimeError, match=match): func(1, 2, 3) |