File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- from decimal import Decimal
2
-
3
1
import numpy as np
4
2
5
3
import numpy_financial as npf
Original file line number Diff line number Diff line change 1
1
import math
2
2
from decimal import Decimal
3
3
4
+ import hypothesis .extra .numpy as npst
5
+ import hypothesis .strategies as st
6
+
4
7
# Don't use 'import numpy as np', to avoid accidentally testing
5
8
# the versions in numpy instead of numpy_financial.
6
9
import numpy
7
10
import pytest
11
+ from hypothesis import given , settings
8
12
from numpy .testing import (
9
13
assert_ ,
10
14
assert_allclose ,
11
15
assert_equal ,
12
16
assert_raises ,
13
17
)
14
- from hypothesis import given , settings
15
- import hypothesis .strategies as st
16
- import hypothesis .extra .numpy as npst
17
18
18
19
import numpy_financial as npf
19
20
You can’t perform that action at this time.
0 commit comments