1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 1 Sep 2019 06:37:12 +0000
Subject: Detect broken basemap
https://github.com/matplotlib/basemap/pull/454
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939022
---
pyresample/test/test_plot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyresample/test/test_plot.py b/pyresample/test/test_plot.py
index e186754..83dfe01 100644
--- a/pyresample/test/test_plot.py
+++ b/pyresample/test/test_plot.py
@@ -34,7 +34,7 @@ except ImportError:
try:
from mpl_toolkits.basemap import Basemap
-except ImportError:
+except (ImportError, AttributeError):
Basemap = None
|