fix flake8 issue

This commit is contained in:
Axel Cherubin 2018-08-05 17:52:06 -04:00
parent 848ecb91bb
commit 65f7b75c34

View File

@ -3,6 +3,7 @@
import talib.abstract as ta
import pandas as pd
def test_talib_bollingerbands_near_zero_values():
inputs = pd.DataFrame([
{'close': 0.00000010},
@ -12,4 +13,4 @@ def test_talib_bollingerbands_near_zero_values():
{'close': 0.00000014}
])
bollinger = ta.BBANDS(inputs, matype=0, timeperiod=2)
assert (bollinger['upperband'][3] != bollinger['middleband'][3])
assert (bollinger['upperband'][3] != bollinger['middleband'][3])