use ``self.assertRaises(KeyError, grouped.get_group, -1, default='default')``