Skip to content

Commit

Permalink
Deactivate WorldBank-datareader test (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Feb 19, 2024
1 parent 5d97d82 commit 98cb3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_datareader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from requests.exceptions import ConnectionError, ReadTimeout
from requests.exceptions import ConnectionError, ReadTimeout, JSONDecodeError
import pytest
import logging
import pandas as pd
Expand All @@ -13,7 +13,7 @@
try:
wb.get_indicators()
WB_UNAVAILABLE = False
except (ReadTimeout, ConnectionError):
except (ReadTimeout, ConnectionError, JSONDecodeError):
WB_UNAVAILABLE = True

WB_REASON = "World Bank API unavailable"
Expand Down

0 comments on commit 98cb3ed

Please sign in to comment.