Skip to content

Commit ac0857b

Browse files
committed
fix(comment): #1282 (comment)
1 parent 3844062 commit ac0857b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/test_indexes.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,15 +1081,6 @@ def test_append_str() -> None:
10811081
check(assert_type(first.append([second]), "pd.Index[str]"), pd.Index, str)
10821082

10831083

1084-
def test_append_list_str() -> None:
1085-
"""Test pd.Index[list[str]].append"""
1086-
first = pd.Index([["str", "rts"]])
1087-
second = pd.Index([["srt", "trs"]])
1088-
check(assert_type(first.append([]), "pd.Index[list[str]]"), pd.Index, list)
1089-
check(assert_type(first.append(second), "pd.Index[list[str]]"), pd.Index, list)
1090-
check(assert_type(first.append([second]), "pd.Index[list[str]]"), pd.Index, list)
1091-
1092-
10931084
def test_range_index_range() -> None:
10941085
"""Test that pd.RangeIndex can be initialized from range."""
10951086
iri = pd.RangeIndex(range(5))

0 commit comments

Comments
 (0)