Skip to content

Commit 93568cc

Browse files
simonjayhawkinsjreback
authored andcommitted
fix MacPython pandas-wheels failure (#25186)
1 parent 09633b8 commit 93568cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexes/multi/test_analytics.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import pytest
55

6-
from pandas.compat import lrange
6+
from pandas.compat import PY2, lrange
77
from pandas.compat.numpy import _np_version_under1p16
88

99
import pandas as pd
@@ -275,6 +275,7 @@ def test_map_dictlike(idx, mapper):
275275
tm.assert_index_equal(result, expected)
276276

277277

278+
@pytest.mark.skipif(PY2, reason="pytest.raises match regex fails")
278279
@pytest.mark.parametrize('func', [
279280
np.exp, np.exp2, np.expm1, np.log, np.log2, np.log10,
280281
np.log1p, np.sqrt, np.sin, np.cos, np.tan, np.arcsin,

0 commit comments

Comments
 (0)