Skip to content

Commit 12142b6

Browse files
committed
TST: disable get_components_yahoo tests as unreliable
1 parent fed589e commit 12142b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/io/tests/test_data.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,16 @@ def test_get_quote_stringlist(self):
150150

151151
@network
152152
def test_get_components_dow_jones(self):
153+
raise nose.SkipTest('unreliable test, receive partial components back for dow_jones')
154+
153155
df = web.get_components_yahoo('^DJI') #Dow Jones
154156
assert isinstance(df, pd.DataFrame)
155157
self.assertEqual(len(df), 30)
156158

157159
@network
158160
def test_get_components_dax(self):
161+
raise nose.SkipTest('unreliable test, receive partial components back for dax')
162+
159163
df = web.get_components_yahoo('^GDAXI') #DAX
160164
assert isinstance(df, pd.DataFrame)
161165
self.assertEqual(len(df), 30)
@@ -166,6 +170,8 @@ def test_get_components_dax(self):
166170
def test_get_components_nasdaq_100(self):
167171
"""as of 7/12/13 the conditional will test false because the link is
168172
invalid"""
173+
raise nose.SkipTest('unreliable test, receive partial components back for nasdaq_100')
174+
169175
df = web.get_components_yahoo('^NDX') #NASDAQ-100
170176
assert isinstance(df, pd.DataFrame)
171177

0 commit comments

Comments
 (0)