From 778d16035985d03d21ee363545214c71a8f0900e Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:59:48 +0200 Subject: [PATCH] added another exception for the ctx test (#1019) --- tests/test_external_packages.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_external_packages.py b/tests/test_external_packages.py index 227f80cb..264ca7e6 100644 --- a/tests/test_external_packages.py +++ b/tests/test_external_packages.py @@ -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)