Skip to content

Commit 305f4e1

Browse files
author
David Stephens
committed
TST: Skip test_wb Copper test on RemoteDataError
1 parent 7b22a96 commit 305f4e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas_datareader/tests/test_wb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from pandas_datareader.compat import assert_raises_regex
1010
from pandas_datareader.wb import (search, download, get_countries,
1111
get_indicators, WorldBankReader)
12+
from pandas_datareader._utils import RemoteDataError
13+
from pandas_datareader._testing import skip_on_exception
1214

1315

1416
class TestWB(object):
@@ -215,6 +217,7 @@ def test_wdi_get_indicators(self):
215217
assert result.columns.equals(exp_col)
216218
assert len(result) > 10000
217219

220+
@skip_on_exception(RemoteDataError)
218221
def test_wdi_download_monthly(self):
219222
expected = {'COPPER': {('World', '2012M01'): 8040.47,
220223
('World', '2011M12'): 7565.48,

0 commit comments

Comments
 (0)