diff --git a/kwant/physics/tests/test_gauge.py b/kwant/physics/tests/test_gauge.py index a6a7cbeb2f1d74fc1c57b91c005006b9927b5632..067c3244d44363ffcf6e9e4f993485b465e10e34 100644 --- a/kwant/physics/tests/test_gauge.py +++ b/kwant/physics/tests/test_gauge.py @@ -517,8 +517,6 @@ def test_uniform_magnetic_field(system_and_gauge, B): s = kwant.smatrix(syst, energy=0.6, params=params) t = s.submatrix(1, 0) - b = kwant.physics.Bands(syst.leads[0], params=params) - assert t.shape > (0, 0) # sanity check assert np.allclose(np.abs(t)**2, np.eye(*t.shape))