Skip to content

Commit 8dc27bc

Browse files
committed
Pick required fix from f4232e7 pandas-dev#58006
1 parent ce7ded5 commit 8dc27bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/frame/test_reductions.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,9 @@ def test_minmax_extensionarray(method, numeric_only):
19991999
def test_frame_mixed_numeric_object_with_timestamp(ts_value):
20002000
# GH 13912
20012001
df = DataFrame({"a": [1], "b": [1.1], "c": ["foo"], "d": [ts_value]})
2002-
with pytest.raises(TypeError, match="does not support operation|Cannot perform"):
2002+
with pytest.raises(
2003+
TypeError, match="does not support (operation|reduction)|Cannot perform"
2004+
):
20032005
df.sum()
20042006

20052007

0 commit comments

Comments
 (0)