Skip to content

Commit d10bbce

Browse files
simonjayhawkinsjreback
authored andcommitted
fix MacPython / pandas-wheels ci failures (#25537)
1 parent 076b5a8 commit d10bbce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/tests/test_sorting.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ def test_mixed_integer_from_list(self):
409409
def test_unsortable(self):
410410
# GH 13714
411411
arr = np.array([1, 2, datetime.now(), 0, 3], dtype=object)
412-
msg = (r"'(<|>)' not supported between instances of"
413-
r" 'datetime\.datetime' and 'int'|"
412+
msg = (r"'(<|>)' not supported between instances of ('"
413+
r"datetime\.datetime' and 'int'|'int' and 'datetime\.datetime"
414+
r"')|"
414415
r"unorderable types: int\(\) > datetime\.datetime\(\)")
415416
if compat.PY2:
416417
# RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0 commit comments

Comments
 (0)