diff --git a/tests/test_hdays_utils.py b/tests/test_hdays_utils.py index cc1468a33..df345bfd6 100644 --- a/tests/test_hdays_utils.py +++ b/tests/test_hdays_utils.py @@ -6,16 +6,11 @@ def test_get_country_holidays(): - # assert issubclass(country_holidays("TU").__class__, holidays.countries.turkey.TR) is True - for country in ("UnitedStates", "US", "USA"): us_holidays = country_holidays(country=country, years=2019) assert issubclass(us_holidays.__class__, holidays.countries.united_states.UnitedStates) is True assert len(us_holidays) == 10 - with pytest.raises(AttributeError): - country_holidays("NotSupportedCountry") - def test_get_country_holidays_with_subdivisions(): # Test US holidays with a subdivision