Skip to content

Commit 0a47f79

Browse files
committed
no-longer-necessary type ignore
1 parent b917aa3 commit 0a47f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/datetimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ def date_range(
11071107
# e.g. BDay with an offset
11081108
td = Timedelta(freq.offset)
11091109
if abbrev_to_npy_unit(td.unit) > creso:
1110-
unit = td.unit # type: ignore[assignment]
1110+
unit = td.unit
11111111
elif type(freq) is DateOffset:
11121112
if getattr(freq, "nanoseconds", 0) != 0:
11131113
# e.g. test_freq_dateoffset_with_relateivedelta_nanos

0 commit comments

Comments
 (0)