We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac3087 commit 1e3369cCopy full SHA for 1e3369c
pandas/tests/tseries/holiday/test_calendar.py
@@ -91,12 +91,10 @@ def test_calendar_2031():
91
# Next working day after August 30 ought to be Tuesday, September 2.
92
93
class testCalendar(AbstractHolidayCalendar):
94
- rules = [
95
- USLaborDay,
96
- ]
+ rules = [USLaborDay]
97
98
cal = testCalendar()
99
workDay = offsets.CustomBusinessDay(calendar=cal)
100
- Sat_before_Labor_Day_2031 = to_datetime('2031-08-30')
+ Sat_before_Labor_Day_2031 = to_datetime("2031-08-30")
101
next_working_day = Sat_before_Labor_Day_2031 + 0 * workDay
102
- assert next_working_day == to_datetime('2031-09-02')
+ assert next_working_day == to_datetime("2031-09-02")
0 commit comments