AlkantarClanX12

Your IP : 3.137.190.6


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib/tests/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib/tests/test_financial_expired.py

import sys
import pytest
import numpy as np


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)