Skip to content

Commit

Permalink
Update test_data_reader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanwp authored Nov 3, 2022
1 parent 793d33e commit 0695e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cis/test/unit/test_io/test_data_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_GIVEN_multiple_variable_mix_of_gridded_ungridded_WHEN_read_data_THEN_ra
ungridded_data = make_regular_2d_ungridded_data()
get_data_func = MagicMock(side_effect=[gridded_data, ungridded_data])
reader = DataReader(get_data_func=get_data_func)
with self.assertRaises(Error):
with self.assertRaises(Exception):
data = reader.read_data_list(filenames, variables, product)[0]

def test_GIVEN_wildcards_WHEN_read_data_THEN_matching_variables_identified(self):
Expand Down

0 comments on commit 0695e25

Please sign in to comment.