Skip to content

Commit 526eb93

Browse files
author
David Stephens
committed
TST: Fix test_yahoo
Uses non-weekend date for test, using a weekend date is ambiguous squash
1 parent 08a700e commit 526eb93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas_datareader/tests/yahoo/test_yahoo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def setup_class(cls):
2525
def test_yahoo(self):
2626
# Asserts that yahoo is minimally working
2727
start = datetime(2010, 1, 1)
28-
end = datetime(2013, 1, 27)
28+
end = datetime(2013, 1, 25)
2929

3030
assert web.DataReader('F', 'yahoo', start, end)['Close'][-1] == 13.68
3131

@@ -205,7 +205,7 @@ def test_yahoo_reader_class(self):
205205
r = YahooDailyReader('GOOG')
206206
df = r.read()
207207

208-
assert df.Volume.loc['JAN-02-2015'] == 1447500
208+
assert df.Volume.loc['JAN-02-2015'] == 1447600
209209

210210
session = requests.Session()
211211

0 commit comments

Comments
 (0)