From 64ce4cace52ce06368e6a071119fd9cc7c312278 Mon Sep 17 00:00:00 2001 From: David Stephens Date: Sun, 22 Oct 2017 10:11:10 -0600 Subject: [PATCH] TST: Changed skip to mark.xfail in test_google --- pandas_datareader/tests/google/test_google.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas_datareader/tests/google/test_google.py b/pandas_datareader/tests/google/test_google.py index 167785ed..664d1f7d 100644 --- a/pandas_datareader/tests/google/test_google.py +++ b/pandas_datareader/tests/google/test_google.py @@ -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']))