Skip to content

Commit 94af7c3

Browse files
committed
add dedupe comment
1 parent 35683fe commit 94af7c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/indexes/test_datetime_index.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def test_index_relops() -> None:
3535
check(assert_type(data[idx >= x], pd.DatetimeIndex), pd.DatetimeIndex)
3636
check(assert_type(data[idx > x], pd.DatetimeIndex), pd.DatetimeIndex)
3737

38+
# TODO: https://github.com/pandas-dev/pandas-stubs/pull/1438#discussion_r2451864012
39+
# Can this be de-duplicated?
3840
dt_idx = pd.DatetimeIndex(data, name="date")
3941
check(assert_type(data[x <= dt_idx], pd.DatetimeIndex), pd.DatetimeIndex)
4042
check(assert_type(data[x < dt_idx], pd.DatetimeIndex), pd.DatetimeIndex)

0 commit comments

Comments
 (0)