Skip to content

Commit f7e9a4c

Browse files
Redundant code
Co-authored-by: Sadie L. Bartholomew <[email protected]>
1 parent 922af47 commit f7e9a4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cf/test/test_Field.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,14 +1406,12 @@ def test_Field_indices(self):
14061406
g = f[indices]
14071407
x = g.dimension_coordinate("X").array
14081408
self.assertEqual(g.shape, (1, 10, 7))
1409-
x = g.dimension_coordinate("X").array
14101409
self.assertTrue((x == [-240, -200, -160, -120, -80, -40, 0]).all())
14111410

14121411
indices = f.indices(grid_longitude=cf.wo(35, 85))
14131412
g = f[indices]
14141413
x = g.dimension_coordinate("X").array
14151414
self.assertEqual(g.shape, (1, 10, 7))
1416-
x = g.dimension_coordinate("X").array
14171415
self.assertTrue((x == [-240, -200, -160, -120, -80, -40, 0]).all())
14181416

14191417
with self.assertRaises(ValueError):

0 commit comments

Comments
 (0)