Commit 7e4147d2 authored by Joseph Weston's avatar Joseph Weston

fix typo 'plotter → _plotter'

The 'mpl_available' flag was relegated to '_plotter' in
the development version, but the check in the test was still
referring to 'plotter'. The change 'plotter → _plotter' was
made on the development version, so this fix does not need to
be backported to the stable branch.
parent 7e7c3d94
Pipeline #12612 passed with stages
in 18 minutes and 23 seconds
......@@ -39,7 +39,7 @@ from kwant import plotter
from kwant import _plotter # for mpl_available
@pytest.mark.skipif(not plotter.mpl_available, reason="Matplotlib unavailable.")
@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
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment