Skip to content

Commit c8dc335

Browse files
committed
Remove redundant lines in test
1 parent ff037a6 commit c8dc335

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

xbout/tests/test_boutdataset.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,11 +1390,6 @@ def test_integrate_midpoints_salpha(self, bout_xyt_example_files, location):
13901390
# Area of torus with circular cross-section of major radius R and minor radius a
13911391
# is 2*pi*R*2*pi*a
13921392
# https://en.wikipedia.org/wiki/Torus
1393-
mxg = options._keys.get("MXG", 2)
1394-
if mxg == 0:
1395-
xslice = slice(None)
1396-
else:
1397-
xslice = slice(mxg, -mxg)
13981393
npt.assert_allclose(
13991394
ds.bout.integrate_midpoints("n", dims=["theta", "zeta"]),
14001395
(2.0 * np.pi * R * 2.0 * np.pi * r)[np.newaxis, :]

0 commit comments

Comments
 (0)