How to use the holidays.ES function in holidays

To help you get started, we’ve selected a few holidays examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dr-prodigy / python-holidays / tests.py View on Github external
def setUp(self):
        self.holidays = holidays.ES()
        self.prov_holidays = dict((prov, holidays.ES(prov=prov))
                                  for prov in holidays.ES.PROVINCES)
github dr-prodigy / python-holidays / tests.py View on Github external
def setUp(self):
        self.holidays = holidays.ES()
        self.prov_holidays = dict((prov, holidays.ES(prov=prov))
                                  for prov in holidays.ES.PROVINCES)
github dr-prodigy / python-holidays / tests.py View on Github external
def setUp(self):
        self.holidays = holidays.ES()
        self.prov_holidays = dict((prov, holidays.ES(prov=prov))
                                  for prov in holidays.ES.PROVINCES)