@property<EOL><INDENT>def upcoming_yom_tov(self):<DEDENT>
if self.is_yom_tov:<EOL><INDENT>return self<EOL><DEDENT>this_year = self.get_holidays_for_year([HolidayTypes.YOM_TOV])<EOL>next_rosh_hashana = HDate(<EOL>heb_date=HebrewDate(self.hdate.year + <NUM_LIT:1>, Months.Tishrei, <NUM_LIT:1>),<EOL>diaspora=self.diaspora,<EOL>hebrew=self.hebrew)<EOL>next_year = next_rosh_hashana.get_holidays_for_year(<EOL>[HolidayTypes.YOM_TOV])<EOL>holidays_list = [<EOL>holiday_hdate for _, holiday_hdate in chain(this_year, next_year)<EOL>if holiday_hdate >= self<EOL>]<EOL>holidays_list.sort(key=lambda h: h.gdate)<EOL>return holidays_list[<NUM_LIT:0>]<EOL>
Find the next upcoming yom tov (i.e. no-melacha holiday).

        If it is currently the day of yom tov (irrespective of zmanim), returns
        that yom tov.