Skip to content

Commit f31afeb

Browse files
jrebackMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR pandas-dev#25631: TST: failing wheel building on PY2 and old numpy
1 parent d052978 commit f31afeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/frame/test_constructors.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import pandas as pd
2121
from pandas import (
2222
Categorical, DataFrame, Index, MultiIndex, Series, Timedelta, Timestamp,
23-
compat, date_range, isna)
23+
_np_version_under1p13, compat, date_range, isna)
2424
from pandas.tests.frame.common import TestData
2525
import pandas.util.testing as tm
2626

@@ -682,6 +682,8 @@ def test_constructor_ndarray(self):
682682
frame = DataFrame(['foo', 'bar'], index=[0, 1], columns=['A'])
683683
assert len(frame) == 2
684684

685+
@pytest.mark.skipif(PY2 & _np_version_under1p13,
686+
reason="old numpy & py2")
685687
def test_constructor_maskedarray(self):
686688
self._check_basic_constructor(ma.masked_all)
687689

0 commit comments

Comments
 (0)