Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions holidays/countries/french_southern_territories.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ class HolidaysTF(France):
# This overseas territory was separated in 1955.
start_year = 1956

def _populate_public_holidays(self) -> None:
self.subdiv = "TF"
super()._populate_public_holidays()


class FrenchSouthernTerritories(HolidaysTF):
pass
Expand Down
3 changes: 3 additions & 0 deletions tests/countries/test_french_southern_territories.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def setUpClass(cls):
def test_country_aliases(self):
self.assertAliases(HolidaysTF, FrenchSouthernTerritories, TF, ATF)

def test_no_holidays(self):
self.assertNoHolidays(FrenchSouthernTerritories(years=1955))

def test_2022(self):
self.assertHolidayDates(
HolidaysTF(years=2022),
Expand Down