blob: 838f999a61e6d8345c8bf348dbafa5619ec420e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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)
|