Skip to content

Commit 24a0249

Browse files
authored
Try again
1 parent 2dc1d19 commit 24a0249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/preprocessor/_io/test_concatenate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def test_concatenate_no_time_coords(self):
343343
cube2 = Cube([33., 55., 77.],
344344
var_name='sample',
345345
dim_coords_and_dims=((ap_coord_2, 0), ))
346-
with self.assertRaises((TypeError, ValueError)):
346+
with self.assertRaises(ValueError):
347347
_io.concatenate([cube1, cube2])
348348

349349
def test_concatenate_with_order(self):
@@ -384,7 +384,7 @@ def test_fail_on_calendar_concatenate_with_overlap(self):
384384
Cube([33., 55.],
385385
var_name='sample',
386386
dim_coords_and_dims=((time_coord, 0), )))
387-
with self.assertRaises(ValueError):
387+
with self.assertRaises((TypeError, ValueError)):
388388
_io.concatenate(self.raw_cubes)
389389

390390
def test_fail_on_units_concatenate_with_overlap(self):

0 commit comments

Comments
 (0)