Skip to content

Commit

Permalink
flake8 lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orvindemsy committed Dec 15, 2023
1 parent d76b31d commit 0a156bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/test_xnys_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_2024(self):
early_closes = [
pd.Timestamp("2024-07-03", tz="UTC"), # Independence Day
pd.Timestamp("2024-11-24", tz="UTC"), # Thanksgiving Day
pd.Timestamp("2024-12-24", tz="UTC"), # Christmas Eve (if on Mon, Tue, Wed, Thu)
pd.Timestamp("2024-12-24", tz="UTC"), # Christmas Eve
]

for session_label in expected_holidays_2024:
Expand Down
10 changes: 5 additions & 5 deletions tests/test_xtks_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,23 +327,23 @@ def test_2024(self):
pd.Timestamp("2024-01-03", tz="UTC"), # Market Holiday
pd.Timestamp("2024-01-08", tz="UTC"), # Coming of Age Day
pd.Timestamp("2024-02-11", tz="UTC"), # National Foundation Day
pd.Timestamp("2024-02-12", tz="UTC"), # National Foundation Day (02-11) observed *
pd.Timestamp("2024-02-12", tz="UTC"), # National Foundation Day
pd.Timestamp("2024-02-23", tz="UTC"), # Emperor's Birthday
pd.Timestamp("2024-03-20", tz="UTC"), # Vernal Equinox
pd.Timestamp("2024-04-29", tz="UTC"), # Showa Day
pd.Timestamp("2024-05-03", tz="UTC"), # Constitution Memorial Day
pd.Timestamp("2024-05-04", tz="UTC"), # Greenery Day
pd.Timestamp("2024-05-05", tz="UTC"), # Children's Day
pd.Timestamp("2024-05-06", tz="UTC"), # Children's Day (May 5) observed *
pd.Timestamp("2024-05-06", tz="UTC"), # Children's Day (May 5)
pd.Timestamp("2024-07-15", tz="UTC"), # Marine Day
pd.Timestamp("2024-08-11", tz="UTC"), # Mountain Day
pd.Timestamp("2024-08-12", tz="UTC"), # Mountain Day (Aug. 11) observed *
pd.Timestamp("2024-08-12", tz="UTC"), # Mountain Day (Aug. 11)
pd.Timestamp("2024-09-16", tz="UTC"), # Respect for the Aged Day
pd.Timestamp("2024-09-22", tz="UTC"), # Autumnal Equinox
pd.Timestamp("2024-09-23", tz="UTC"), # Autumnal Equinox (Sep. 22) observed *
pd.Timestamp("2024-09-23", tz="UTC"), # Autumnal Equinox (Sep. 22)
pd.Timestamp("2024-10-14", tz="UTC"), # Sports Day
pd.Timestamp("2024-11-03", tz="UTC"), # Culture Day
pd.Timestamp("2024-11-04", tz="UTC"), # Culture Day (11-03) observed *
pd.Timestamp("2024-11-04", tz="UTC"), # Culture Day (11-03)
pd.Timestamp("2024-11-23", tz="UTC"), # Labor Thanksgiving Day
pd.Timestamp("2024-12-31", tz="UTC"), # Market Holiday
]
Expand Down

0 comments on commit 0a156bc

Please sign in to comment.