Skip to content

Commit

Permalink
Pick required fix from f4232e7 #58006
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored and jorisvandenbossche committed Oct 9, 2024
1 parent c2259ad commit 41bd34f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/tests/frame/test_reductions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,9 @@ def test_minmax_extensionarray(method, numeric_only):
def test_frame_mixed_numeric_object_with_timestamp(ts_value):
# GH 13912
df = DataFrame({"a": [1], "b": [1.1], "c": ["foo"], "d": [ts_value]})
with pytest.raises(TypeError, match="does not support operation|Cannot perform"):
with pytest.raises(
TypeError, match="does not support (operation|reduction)|Cannot perform"
):
df.sum()


Expand Down

0 comments on commit 41bd34f

Please sign in to comment.