Commit 1e2d2c2b authored by Joseph Weston's avatar Joseph Weston

remove unused part of tests for magnetic gauge

This was committed by mistake during debugging.
parent 407c2b11
Pipeline #15286 passed with stages
in 46 minutes and 28 seconds
......@@ -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))
......
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