Commit fb06a41a authored by Joseph Weston's avatar Joseph Weston

import whole 'itertools' module rather than just 'chain'

A global constant named 'chain' is defined later in the test module,
so 'from itertools import chain' is confusing.
parent f5dc7c65
......@@ -6,7 +6,7 @@
# the file AUTHORS.rst at the top-level directory of this distribution and at
# http://kwant-project.org/authors.
from itertools import chain
import itertools
from math import cos, sin
import numpy as np
import pytest
......@@ -37,7 +37,7 @@ sparse_solver_options = [
{},
]
solvers = list(chain(
solvers = list(itertools.chain(
[("mumps", opts) for opts in mumps_solver_options],
[("sparse", opts) for opts in sparse_solver_options],
))
......
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