From 3ad5a5e145a59ae862a9ad88ebcf6704e1d421a7 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 20 Jan 2019 22:14:54 +0000 Subject: [PATCH] fix MacPython pandas-wheels failue (#24851) --- pandas/tests/reshape/test_concat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/reshape/test_concat.py b/pandas/tests/reshape/test_concat.py index 899daf488638a0..ec6123bae327e9 100644 --- a/pandas/tests/reshape/test_concat.py +++ b/pandas/tests/reshape/test_concat.py @@ -975,7 +975,8 @@ def test_append_different_columns_types_raises( msg = (r"unorderable types: (Interval|int)\(\) > " r"(int|long|float|str)\(\)|" r"Expected tuple, got (int|long|float|str)|" - r"Cannot compare type 'Timestamp' with type '(int|long)'") + r"Cannot compare type 'Timestamp' with type '(int|long)'|" + r"'>' not supported between instances of 'int' and 'str'") with pytest.raises(TypeError, match=msg): df.append(ser)