Skip to content

Commit

Permalink
added another exception for the ctx test (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer authored Sep 27, 2024
1 parent a2fe1d8 commit 778d160
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_external_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,7 @@ def test_ctx_add_basemap():
# can be removed after fixing https://github.com/geopandas/contextily/issues/252
assert str(e) == "'NoneType' object has no attribute 'shape'"
print(e)
except TypeError as e:
# can be removed after fixing https://github.com/geopandas/contextily/issues/252
assert "not 'NoneType'" in str(e)
print(e)

0 comments on commit 778d160

Please sign in to comment.