From ec85c48ffa62882ff52db771663a30e45de103b6 Mon Sep 17 00:00:00 2001 From: Tobias Hangleiter Date: Fri, 3 Jul 2020 18:38:45 +0200 Subject: [PATCH] skip if matplotlib >is< None... --- tests/test_extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_extras.py b/tests/test_extras.py index a71e8de..efa17d4 100644 --- a/tests/test_extras.py +++ b/tests/test_extras.py @@ -55,7 +55,7 @@ def test_plotting_not_available(self): @pytest.mark.skipif( ('bloch_sphere_visualization' in os.environ.get('INSTALL_EXTRAS', all_extras) # noqa - and matplotlib is not None), + and matplotlib is None), reason='Skipping tests for missing bloch sphere visualization tests in build with qutip') # noqa def test_bloch_sphere_visualization_not_available(self):