Commit db58b4d5 authored by Joseph Weston's avatar Joseph Weston

skip plotter test that cannot run when matplotlib is not installed

parent 9604ddc5
Pipeline #12590 passed with stages
in 6 minutes and 34 seconds
......@@ -38,6 +38,7 @@ except ImportError:
from kwant import plotter
@pytest.mark.skipif(not plotter.mpl_available, reason="Matplotlib unavailable.")
def test_matplotlib_backend_unset():
"""Simply importing Kwant should not set the matplotlib backend."""
assert matplotlib_backend_chosen is False
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment