Skip to content

Commit

Permalink
fix two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jukent committed Jul 7, 2023
1 parent aeb7771 commit 675cb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_climatologies.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def test_daily_monthly_to_yearly_calendar_average(self, name, dset,

@parameterized.expand([('freq=TEST', 'TEST'), ('freq=None', None)])
def test_invalid_freq_calendar_average(self, name, freq):
with self.assertRaises(KeyError):
with self.assertRaises(ValueError):
calendar_average(self.monthly, freq=freq)

def test_custom_time_coord_calendar_average(self):
Expand Down

0 comments on commit 675cb54

Please sign in to comment.