From 6ace463cbea92b2daf02c3572c9eb5a7cb852b0a Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Sun, 10 Mar 2019 12:15:24 -0400 Subject: [PATCH] TST: failing wheel building on PY2 and old numpy closes #25630 --- pandas/tests/frame/test_constructors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index fc642d211b30c..21b2f8d6d111b 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -21,7 +21,7 @@ import pandas as pd from pandas import ( Categorical, DataFrame, Index, MultiIndex, Series, Timedelta, Timestamp, - compat, date_range, isna) + compat, date_range, isna, _np_version_under1p13) from pandas.tests.frame.common import TestData import pandas.util.testing as tm @@ -684,6 +684,8 @@ def test_constructor_ndarray(self): frame = DataFrame(['foo', 'bar'], index=[0, 1], columns=['A']) assert len(frame) == 2 + @pytest.mark.skipif(PY2 & _np_version_under1p13, + reason="old numpy & py2") def test_constructor_maskedarray(self): self._check_basic_constructor(ma.masked_all)