From 5c714fede82e29bd42a3a6f20ec2898a9c37a0ed Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 22 Nov 2019 19:50:20 -0500 Subject: [PATCH] Skip webagg test if tornado is not available. Signed-off-by: Elliott Sales de Andrade --- lib/matplotlib/tests/test_backend_webagg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/matplotlib/tests/test_backend_webagg.py b/lib/matplotlib/tests/test_backend_webagg.py index 997c36a3a..5c6ddfa25 100644 --- a/lib/matplotlib/tests/test_backend_webagg.py +++ b/lib/matplotlib/tests/test_backend_webagg.py @@ -6,6 +6,7 @@ import pytest @pytest.mark.parametrize("backend", ["webagg", "nbagg"]) def test_webagg_fallback(backend): + pytest.importorskip("tornado") if backend == "nbagg": pytest.importorskip("IPython") env = dict(os.environ) -- 2.21.0