Skip to content

Commit 744aec6

Browse files
committed
fix pytest.param usage
1 parent 57ec193 commit 744aec6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pandas/tests/extension/test_arrow.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,10 @@ def test_str_join_string_type():
20372037
[None, 2, 1, ["ab", None]],
20382038
[1, 3, 1, ["bc", None]],
20392039
pytest.param(
2040-
[None, None, -1, ["dcba", None]],
2040+
None,
2041+
None,
2042+
-1,
2043+
["dcba", None],
20412044
marks=pytest.mark.xfail(pa_version_under11p0, reason="Empty result"),
20422045
),
20432046
],

pandas/tests/strings/test_strings.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,10 @@ def test_pipe_failures(any_string_dtype):
396396
(2, 5, None, ["foo", "bar", np.nan, "baz"]),
397397
(0, 3, -1, ["", "", np.nan, ""]),
398398
pytest.param(
399-
(None, None, -1, ["owtoofaa", "owtrabaa", np.nan, "xuqzabaa"]),
399+
None,
400+
None,
401+
-1,
402+
["owtoofaa", "owtrabaa", np.nan, "xuqzabaa"],
400403
marks=pytest.mark.xfail(pa_version_under11p0, reason="Empty result"),
401404
),
402405
(3, 10, 2, ["oto", "ato", np.nan, "aqx"]),

0 commit comments

Comments
 (0)