Skip to content

Commit 1e3369c

Browse files
committed
Reformat test_calendar.py
1 parent 3ac3087 commit 1e3369c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pandas/tests/tseries/holiday/test_calendar.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,10 @@ def test_calendar_2031():
9191
# Next working day after August 30 ought to be Tuesday, September 2.
9292

9393
class testCalendar(AbstractHolidayCalendar):
94-
rules = [
95-
USLaborDay,
96-
]
94+
rules = [USLaborDay]
9795

9896
cal = testCalendar()
9997
workDay = offsets.CustomBusinessDay(calendar=cal)
100-
Sat_before_Labor_Day_2031 = to_datetime('2031-08-30')
98+
Sat_before_Labor_Day_2031 = to_datetime("2031-08-30")
10199
next_working_day = Sat_before_Labor_Day_2031 + 0 * workDay
102-
assert next_working_day == to_datetime('2031-09-02')
100+
assert next_working_day == to_datetime("2031-09-02")

0 commit comments

Comments
 (0)