From 675cb54bcc4ae27c9d28ec79c5c53150693be2de Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Fri, 7 Jul 2023 14:24:38 -0600 Subject: [PATCH] fix two tests --- test/test_climatologies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_climatologies.py b/test/test_climatologies.py index a2e18666..d749899a 100644 --- a/test/test_climatologies.py +++ b/test/test_climatologies.py @@ -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):