@@ -1261,7 +1261,7 @@ def test_timestamp_cmp() -> None:
12611261 c_np_dt64 = np .datetime64 (1 , "ns" )
12621262 c_dt_datetime = dt .datetime (year = 2000 , month = 1 , day = 1 )
12631263 c_datetimeindex = pd .DatetimeIndex (["2000-1-1" ])
1264- # DatetimeIndex, but the type checker detects it to be UnknownIndex .
1264+ # DatetimeIndex, but the type checker detects it to be Index .
12651265 c_unknown_index = pd .DataFrame ({"a" : [1 ]}, index = c_datetimeindex ).index
12661266 c_np_ndarray_dt64 = np_dt64_arr
12671267 c_series_dt64 : TimestampSeries = pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" )
@@ -1421,7 +1421,7 @@ def test_timestamp_eq_ne_rhs() -> None:
14211421 c_np_dt64 = np .datetime64 (1 , "ns" )
14221422 c_dt_datetime = dt .datetime (year = 2000 , month = 1 , day = 1 )
14231423 c_datetimeindex = pd .DatetimeIndex (["2000-1-1" ])
1424- # DatetimeIndex, but the type checker detects it to be UnknownIndex .
1424+ # DatetimeIndex, but the type checker detects it to be Index .
14251425 c_unknown_index = pd .DataFrame ({"a" : [1 ]}, index = c_datetimeindex ).index
14261426 c_np_ndarray_dt64 = np_dt64_arr
14271427 c_series_dt64 : pd .Series [pd .Timestamp ] = pd .Series (
0 commit comments