Commit 8f834c9d authored by Joseph Weston's avatar Joseph Weston

move expensive imports to _plotter.py module

parent 789e7f62
......@@ -137,7 +137,6 @@ class lazy_import:
def __getattr__(self, name):
if self.__deprecation_warning:
absolute_module = '.'.join((self.__package, self.__module))
msg = ("Accessing {0} without an explicit import is deprecated. "
"Instead, explicitly 'import {0}'."
).format('.'.join((self.__package, self.__module)))
......
This diff is collapsed.
This diff is collapsed.
......@@ -2,5 +2,6 @@
testpaths = kwant
flakes-ignore =
__init__.py UnusedImport
kwant/_plotter.py UnusedImport
graph/tests/test_scotch.py UndefinedName
graph/tests/test_dissection.py UndefinedName
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