Skip to content

Commit

Permalink
Pick required fix from f4232e7 pandas-dev#58006
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored and lithomas1 committed Sep 8, 2024
1 parent 3a03337 commit db23861
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 db23861

Please sign in to comment.