Skip to content

Commit 7b22a96

Browse files
author
David Stephens
committed
TST: Remove AAPL price checks from IEX daily test
IEX data is "adjusted" so the numbers will change every time AAPL issues dividend. Left TSLA as the check as they are not paying dividends any time soon.
1 parent de0197e commit 7b22a96

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pandas_datareader/tests/test_iex_daily.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pytest
44

55
import pandas_datareader.data as web
6-
import pandas.util.testing as tm
76

87

98
class TestIEXDaily(object):
@@ -63,18 +62,6 @@ def test_multiple_symbols_2(self):
6362
assert len(a) == 73
6463
assert len(t) == 73
6564

66-
expected1 = a.loc["2017-02-09"]
67-
tm.assert_almost_equal(expected1["close"], 130.36,
68-
check_less_precise=True)
69-
tm.assert_almost_equal(expected1["high"], 130.38,
70-
check_less_precise=True)
71-
72-
expected2 = a.loc["2017-05-24"]
73-
tm.assert_almost_equal(expected2["close"], 151.57,
74-
check_less_precise=True)
75-
tm.assert_almost_equal(expected2["high"], 152.40,
76-
check_less_precise=True)
77-
7865
expected3 = t.loc["2017-02-09"]
7966
assert expected3["close"] == 269.20
8067
assert expected3["high"] == 271.18

0 commit comments

Comments
 (0)