Skip to content

Commit 3e1d175

Browse files
authored
CI: Fix py311 builds different exception message (#48525)
Fix py311 builds different exception message
1 parent 5514aa3 commit 3e1d175

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)