Skip to content

Commit

Permalink
TST: Changed skip to mark.xfail in test_google
Browse files Browse the repository at this point in the history
  • Loading branch information
David Stephens committed Oct 22, 2017
1 parent 87dffc8 commit 64ce4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas_datareader/tests/google/test_google.py
Expand Up @@ -81,15 +81,15 @@ def assert_option_result(self, df):
'datetime64[ns]']]
tm.assert_series_equal(df.dtypes, pd.Series(dtypes, index=exp_columns))

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

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

0 comments on commit 64ce4ca

Please sign in to comment.