Skip to content

Commit 565b5b6

Browse files
committed
Fix failing test
1 parent e1ea051 commit 565b5b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/datetimes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def _add_comparison_methods(cls):
311311
_bool_ops = ['is_month_start', 'is_month_end',
312312
'is_quarter_start', 'is_quarter_end', 'is_year_start',
313313
'is_year_end', 'is_leap_year']
314-
_object_ops = ['weekday_name', 'day_name', 'freq', 'tz']
314+
_object_ops = ['weekday_name', 'freq', 'tz']
315315
_field_ops = ['year', 'month', 'day', 'hour', 'minute', 'second',
316316
'weekofyear', 'week', 'weekday', 'dayofweek',
317317
'dayofyear', 'quarter', 'days_in_month',
@@ -1720,7 +1720,7 @@ def freq(self, value):
17201720

17211721
weekday_name = _field_accessor(
17221722
'weekday_name',
1723-
'day_name',
1723+
'weekday_name',
17241724
"The name of day in a week (ex: Friday)\n\n.. deprecated:: 0.23.0")
17251725

17261726
dayofyear = _field_accessor('dayofyear', 'doy',

0 commit comments

Comments
 (0)