Skip to content

Commit b2b461a

Browse files
simonjayhawkinsTomAugspurger
authored andcommitted
fix MacPython pandas-wheels failure (pandas-dev#25186)
(cherry picked from commit 93568cc)
1 parent cb00deb commit b2b461a

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_under1p17
88

99
import pandas as pd
@@ -267,6 +267,7 @@ def test_map_dictlike(idx, mapper):
267267
tm.assert_index_equal(result, expected)
268268

269269

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

0 commit comments

Comments
 (0)