Skip to content
Snippets Groups Projects
Commit db58b4d5 authored by Joseph Weston's avatar Joseph Weston
Browse files

skip plotter test that cannot run when matplotlib is not installed

parent 9604ddc5
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment