From b2b461a066e8810586bd6d848160acbb1c4e90fd Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Wed, 6 Feb 2019 16:07:06 +0000 Subject: [PATCH] fix MacPython pandas-wheels failure (#25186) (cherry picked from commit 93568cc3c529a10a897879561b4cd75486c618be) --- pandas/tests/indexes/multi/test_analytics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/indexes/multi/test_analytics.py b/pandas/tests/indexes/multi/test_analytics.py index 632ab7aa7be7a..1b20e3f555647 100644 --- a/pandas/tests/indexes/multi/test_analytics.py +++ b/pandas/tests/indexes/multi/test_analytics.py @@ -3,7 +3,7 @@ import numpy as np import pytest -from pandas.compat import lrange +from pandas.compat import PY2, lrange from pandas.compat.numpy import _np_version_under1p17 import pandas as pd @@ -267,6 +267,7 @@ def test_map_dictlike(idx, mapper): tm.assert_index_equal(result, expected) +@pytest.mark.skipif(PY2, reason="pytest.raises match regex fails") @pytest.mark.parametrize('func', [ np.exp, np.exp2, np.expm1, np.log, np.log2, np.log10, np.log1p, np.sqrt, np.sin, np.cos, np.tan, np.arcsin,