'If bad year range definition, a UserError is raised.
At least the range origin must be declared.'

def test_bad_year_range_def_nodigits(self):

    with self.assertRaises(ui.UserError):
        self._setup_config(bucket_year=['nodigits'])
