Skip to content

Commit

Permalink
ArcGIS tests: add missing warnings.simplefilter line
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed May 12, 2018
1 parent 2adad3d commit 0fbc50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/geocoders/arcgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def test_reverse_point(self):

def test_custom_wkid(self):
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always')
# Custom wkid should be ignored and a warning should be issued.
location = self.reverse_run(
{"query": Point(40.753898, -73.985071), "wkid": 2000},
Expand Down

0 comments on commit 0fbc50e

Please sign in to comment.