File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -985,9 +985,9 @@ def _has_default_index(
985985 index = native_frame_or_series .index
986986 return (
987987 _is_range_index (index , native_namespace )
988- and index .start == 0 # type: ignore[comparison-overlap]
989- and index .stop == len (index ) # type: ignore[comparison-overlap]
990- and index .step == 1 # type: ignore[comparison-overlap]
988+ and index .start == 0
989+ and index .stop == len (index )
990+ and index .step == 1
991991 )
992992
993993
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def test_maybe_set_index_pandas_direct_index(
140140 native_df_or_series .index = pandas_index # type: ignore[assignment]
141141 assert_series_equal (nw .to_native (result ), native_df_or_series )
142142 else :
143- expected = native_df_or_series .set_index (pandas_index ) # type: ignore[type-var ]
143+ expected = native_df_or_series .set_index (pandas_index ) # type: ignore[arg-type ]
144144 assert_frame_equal (nw .to_native (result ), expected )
145145
146146
You can’t perform that action at this time.
0 commit comments