Skip to content

Commit 5817209

Browse files
Backport PR #48525 on branch 1.5.x (CI: Fix py311 builds different exception message) (#48529)
Backport PR #48525: CI: Fix py311 builds different exception message Co-authored-by: Patrick Hoefler <[email protected]>
1 parent b6e5132 commit 5817209

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/dtypes/test_concat.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def test_concat_periodarray_2d():
3838
result = _concat.concat_compat([arr[:, :2], arr[:, 2:]], axis=1)
3939
tm.assert_period_array_equal(result, arr)
4040

41-
msg = "all the input array dimensions for the concatenation axis must match exactly"
41+
msg = (
42+
"all the input array dimensions.* for the concatenation axis must match exactly"
43+
)
4244
with pytest.raises(ValueError, match=msg):
4345
_concat.concat_compat([arr[:, :2], arr[:, 2:]], axis=0)
4446

0 commit comments

Comments
 (0)