Skip to content

Commit

Permalink
Merge pull request #413 from pydata/xfail
Browse files Browse the repository at this point in the history
TST: Changed skip to mark.xfail in test_google
  • Loading branch information
davidastephens authored Oct 22, 2017
2 parents 87dffc8 + 64ce4ca commit 6a9cd9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas_datareader/tests/google/test_google.py
Original file line number Diff line number Diff line change
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 6a9cd9b

Please sign in to comment.