'Certain values of :param:`interval` in :class:`rrule`, when combined
with certain values of :param:`byhour` create rules which apply to no
valid dates. The library should detect this case in the iterator and
raise a :exception:`ValueError`.'

def testMinutelyBadComboRRule(self):

    def make_bad_rrule():
        list(rrule(MINUTELY, interval=120, byhour=(10, 12, 14, 16), count=2, dtstart=datetime(1997, 9, 2, 9, 0)))
    self.assertRaises(ValueError, make_bad_rrule)
