def METHOD_NAME(self):
    warnings.simplefilter("always")
    for year in (2000, 2031):  # Diwali and Holi out of range.
        with self.assertWarns(Warning):
            India(years=year)
    for dt in (
        "2010-11-05",
        "2011-10-26",
        "2012-11-13",
        "2013-11-03",
        "2014-10-23",
        "2015-11-11",
        "2016-10-30",
        "2017-10-19",
        "2018-11-07",
        "2019-10-27",
        "2020-11-14",
        "2021-11-04",
        "2022-10-24",
        "2023-11-12",
        "2024-11-01",
        "2025-10-20",
        "2026-11-08",
        "2027-10-29",
        "2028-10-17",
        "2029-11-05",
        "2030-10-26",
    ):
        self.assertEqual(self.holidays[dt], "Diwali")
    for dt in (
        "2010-03-01",
        "2011-03-20",
        "2012-03-08",
        "2013-03-27",
        "2014-03-17",
        "2015-03-06",
        "2016-03-24",
        "2017-03-13",
        "2018-03-02",
        "2019-03-21",
        "2020-03-10",
        "2021-03-29",
        "2022-03-18",
        "2023-03-08",
        "2024-03-25",
        "2025-03-14",
        "2026-03-04",
        "2027-03-22",
        "2028-03-11",
        "2029-03-01",
        "2030-03-20",
    ):
        self.assertEqual(self.holidays[dt], "Holi")