def METHOD_NAME(self):
    """If bad year range definition, a UserError is raised.
    Range origin must be expressed on 4 digits.
    """
    with self.assertRaises(ui.UserError):
        self._setup_config(bucket_year=['62-64'])