Skip to content

Commit 6b54195

Browse files
committed
MAINT: Remove unused import
1 parent da3bf33 commit 6b54195

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

benchmarks/benchmarks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from decimal import Decimal
2-
31
import numpy as np
42

53
import numpy_financial as npf

tests/test_financial.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
import math
22
from decimal import Decimal
33

4+
import hypothesis.extra.numpy as npst
5+
import hypothesis.strategies as st
6+
47
# Don't use 'import numpy as np', to avoid accidentally testing
58
# the versions in numpy instead of numpy_financial.
69
import numpy
710
import pytest
11+
from hypothesis import given, settings
812
from numpy.testing import (
913
assert_,
1014
assert_allclose,
1115
assert_equal,
1216
assert_raises,
1317
)
14-
from hypothesis import given, settings
15-
import hypothesis.strategies as st
16-
import hypothesis.extra.numpy as npst
1718

1819
import numpy_financial as npf
1920

0 commit comments

Comments
 (0)