Skip to content

Commit f4ad30e

Browse files
mario4tiermrjbq7
authored andcommitted
test: accept a TA-Lib C newer than we require
dev tracks TA-Lib C's dev branch, whose version moves ahead of the release.
1 parent 9c7f7bd commit f4ad30e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/test_func.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212

1313
def test_talib_version():
14-
assert talib.__ta_version__[:5] == b'0.8.1'
14+
required = (0, 8, 1)
15+
installed = tuple(int(p) for p in talib.__ta_version__.split()[0].split(b'.'))
16+
assert installed >= required
1517

1618

1719
def test_num_functions():

0 commit comments

Comments
 (0)