Skip to content

Commit 0b5bc9c

Browse files
committed
TST: added failing tuple tests for str.startswith and str.startswith (#54942)
1 parent da849a9 commit 0b5bc9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/tests/strings/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
("decode", ("UTF-8",), {}),
1414
("encode", ("UTF-8",), {}),
1515
("endswith", ("a",), {}),
16+
("endswith", ((),), {}),
17+
("endswith", (("a",),), {}),
18+
("endswith", (("a", "b"),), {}),
19+
("endswith", (("a", "MISSING"),), {}),
1620
("endswith", ("a",), {"na": True}),
1721
("endswith", ("a",), {"na": False}),
1822
("extract", ("([a-z]*)",), {"expand": False}),
@@ -44,6 +48,10 @@
4448
("split", (" ",), {"expand": False}),
4549
("split", (" ",), {"expand": True}),
4650
("startswith", ("a",), {}),
51+
("startswith", (("a",),), {}),
52+
("startswith", (("a", "b"),), {}),
53+
("startswith", (("a", "MISSING"),), {}),
54+
("startswith", ((),), {}),
4755
("startswith", ("a",), {"na": True}),
4856
("startswith", ("a",), {"na": False}),
4957
("removeprefix", ("a",), {}),

0 commit comments

Comments
 (0)