Skip to content

Commit 86928eb

Browse files
committed
do no longer test deprecated argument
1 parent e96cbdb commit 86928eb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/core/gridmapping/test_dataset.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,6 @@ def test_from_sentinel_2(self):
131131
self.assertEqual('Geographic 2D CRS', gm.crs.type_name)
132132
self.assertEqual(False, gm.is_regular)
133133

134-
def test_xy_names(self):
135-
dataset = create_s2plus_dataset()
136-
with self.assertRaises(ValueError) as cm:
137-
GridMapping.from_dataset(dataset, xy_var_names=('lons', 'lats'))
138-
self.assertEqual('coordinate variables "lons" or "lats" not found in dataset', f'{cm.exception}')
139-
140-
dataset = create_s2plus_dataset()
141-
with self.assertRaises(NotImplementedError) as cm:
142-
GridMapping.from_dataset(dataset, xy_var_names=('lon', 'lat'))
143-
self.assertEqual('xy_var_names not yet supported', f'{cm.exception}')
144-
145134
def test_no_grid_mapping_found(self):
146135
with self.assertRaises(ValueError) as cm:
147136
GridMapping.from_dataset(xr.Dataset())

0 commit comments

Comments
 (0)