diff --git a/holidays.py b/holidays.py index 9b4394d3f1..dd4dc8ec1e 100644 --- a/holidays.py +++ b/holidays.py @@ -2012,8 +2012,6 @@ def _populate(self, year): # Liberation day if year >= 1947 and year <= 2000: self[date(year, 5, 5)] = "Bevrijdingsdag" - elif year >= 2000 and year % 5 == 0: - self[date(year, 5, 5)] = "Bevrijdingsdag" # Kingsday if year >= 2014: diff --git a/tests.py b/tests.py index f624bd8a70..dd741621fc 100644 --- a/tests.py +++ b/tests.py @@ -813,12 +813,6 @@ def test_liberation_day(self): self.holidays = holidays.NL(years=1900) self.assertFalse(date(1900, 5, 5) in self.holidays) - self.holidays = holidays.NL(years=2010) - self.assertTrue(date(2020, 5, 5) in self.holidays) - - self.holidays = holidays.NL(years=2010) - self.assertFalse(date(2011, 5, 5) in self.holidays) - def test_ascension_day(self): self.holidays = holidays.NL(years=2017) self.assertTrue(date(2017, 5, 25) in self.holidays)