From 7131d8f9343b960ae6e293fc5edf30643d25d1e3 Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Fri, 23 Feb 2018 18:11:48 +0100
Subject: [PATCH] test _plotter importable without matplotlib

---
 kwant/tests/test_plotter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kwant/tests/test_plotter.py b/kwant/tests/test_plotter.py
index 8735a1df..a5d06a36 100644
--- a/kwant/tests/test_plotter.py
+++ b/kwant/tests/test_plotter.py
@@ -45,7 +45,7 @@ def test_matplotlib_backend_unset():
 
 
 def test_importable_without_matplotlib():
-    prefix, sep, suffix = plotter.__file__.rpartition('.')
+    prefix, sep, suffix = _plotter.__file__.rpartition('.')
     if suffix in ['pyc', 'pyo']:
         suffix = 'py'
     assert suffix == 'py'
-- 
GitLab