Skip to content

Commit 141d3a8

Browse files
committed
mypy fixup
1 parent bd76016 commit 141d3a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/resample.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2561,7 +2561,9 @@ def _get_timestamp_range_edges(
25612561
first, last = _adjust_dates_anchored(
25622562
first,
25632563
last,
2564-
freq._maybe_to_hours(),
2564+
# error: Argument 3 to "_adjust_dates_anchored" has incompatible
2565+
# type "BaseOffset"; expected "Tick"
2566+
freq._maybe_to_hours(), # type: ignore[arg-type]
25652567
closed=closed,
25662568
origin=origin,
25672569
offset=offset,

0 commit comments

Comments
 (0)