From 1e2d2c2b1d08b8ea6ea7196a9e0c65085d01660b Mon Sep 17 00:00:00 2001 From: Joseph Weston <joseph@weston.cloud> Date: Tue, 12 Feb 2019 11:56:40 +0100 Subject: [PATCH] remove unused part of tests for magnetic gauge This was committed by mistake during debugging. --- kwant/physics/tests/test_gauge.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kwant/physics/tests/test_gauge.py b/kwant/physics/tests/test_gauge.py index a6a7cbeb..067c3244 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)) -- GitLab