Skip to content

Commit e38ade1

Browse files
committed
Fix test for abstract w/ polars.
1 parent 404eb26 commit e38ade1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

talib/test_polars.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from nose.tools import assert_equals, assert_is_instance, assert_true
44

55
import talib
6+
from talib import abstract
67
from talib.test_data import series, assert_np_arrays_equal
78

89
def test_MOM():
@@ -51,6 +52,6 @@ def test_TEVA():
5152
"volume": np.random.uniform(low=0.0, high=100.0, size=size).astype("float32")
5253
}
5354
)
54-
tema = ta.TEMA(df, timeperiod=9)
55+
tema = abstract.TEMA(df, timeperiod=9)
5556
assert_is_instance(tema, pl.Series)
5657
assert_equal(len(tema), 50)

0 commit comments

Comments
 (0)