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 committed Aug 27, 2024
1 parent 33ee82c commit c1f17f4
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 c1f17f4

Please sign in to comment.