Skip to content

Commit 4199d46

Browse files
committed
TST: added failing tuple tests for str.startswith and str.startswith (pandas-dev#54942)
1 parent c7325d7 commit 4199d46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/strings/conftest.py

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
("decode", ("UTF-8",), {}),
1414
("encode", ("UTF-8",), {}),
1515
("endswith", ("a",), {}),
16+
("endswith", ((),), {}),
17+
("endswith", (("a",),), {}),
1618
("endswith", ("a",), {"na": True}),
1719
("endswith", ("a",), {"na": False}),
1820
("extract", ("([a-z]*)",), {"expand": False}),
@@ -44,6 +46,8 @@
4446
("split", (" ",), {"expand": False}),
4547
("split", (" ",), {"expand": True}),
4648
("startswith", ("a",), {}),
49+
("startswith", (("a",),), {}),
50+
("startswith", ((),), {}),
4751
("startswith", ("a",), {"na": True}),
4852
("startswith", ("a",), {"na": False}),
4953
("removeprefix", ("a",), {}),

0 commit comments

Comments
 (0)