Skip to content

Commit 6a9cd9b

Browse files
Merge pull request #413 from pydata/xfail
TST: Changed skip to mark.xfail in test_google
2 parents 87dffc8 + 64ce4ca commit 6a9cd9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas_datareader/tests/google/test_google.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ def assert_option_result(self, df):
8181
'datetime64[ns]']]
8282
tm.assert_series_equal(df.dtypes, pd.Series(dtypes, index=exp_columns))
8383

84+
@pytest.mark.xfail(reason="Google quote api is offline as of Oct 1, 2017")
8485
def test_get_quote_string(self):
85-
pytest.skip("Google quote api is offline as of Oct 1, 2017")
8686
df = web.get_quote_google('GOOG')
8787
assert df.loc['GOOG', 'last'] > 0.0
8888
tm.assert_index_equal(df.index, pd.Index(['GOOG']))
8989
self.assert_option_result(df)
9090

91+
@pytest.mark.xfail(reason="Google quote api is offline as of Oct 1, 2017")
9192
def test_get_quote_stringlist(self):
92-
pytest.skip("Google quote api is offline as of Oct 1, 2017")
9393
df = web.get_quote_google(['GOOG', 'AMZN', 'GOOG'])
9494
assert_series_equal(df.iloc[0], df.iloc[2])
9595
tm.assert_index_equal(df.index, pd.Index(['GOOG', 'AMZN', 'GOOG']))

0 commit comments

Comments
 (0)