Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
numpy
/
lib
/
tests
📤 Upload
📝 New File
📁 New Folder
Close
Editing: test_financial_expired.py
import sys import pytest import numpy as np @pytest.mark.skipif(sys.version_info[:2] < (3, 7), reason="requires python 3.7 or higher") def test_financial_expired(): match = 'NEP 32' with pytest.warns(DeprecationWarning, match=match): func = np.fv with pytest.raises(RuntimeError, match=match): func(1, 2, 3)
Save
Cancel