[ https://issues.apache.org/jira/browse/ARROW-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929933#comment-16929933 ]
Joris Van den Bossche commented on ARROW-6561: ---------------------------------------------- Sorry, this is because I merged {{__arrow_array__}} support in pandas master, and our tests were assuming it was not there. Patch coming. > [Python] pandas-master integration test failure > ----------------------------------------------- > > Key: ARROW-6561 > URL: https://issues.apache.org/jira/browse/ARROW-6561 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Wes McKinney > Priority: Major > Fix For: 0.15.0 > > > {code} > =================================== FAILURES > =================================== > _____________________________ test_array_protocol > ______________________________ > def test_array_protocol(): > if LooseVersion(pd.__version__) < '0.24.0': > pytest.skip('IntegerArray only introduced in 0.24') > > def __arrow_array__(self, type=None): > return pa.array(self._data, mask=self._mask, type=type) > > df = pd.DataFrame({'a': pd.Series([1, 2, None], dtype='Int64')}) > > # with latest pandas/arrow, trying to convert nullable integer errors > with pytest.raises(TypeError): > > pa.table(df) > E Failed: DID NOT RAISE <class 'TypeError'> > opt/conda/lib/python3.6/site-packages/pyarrow/tests/test_pandas.py:3035: > Failed > {code} > https://circleci.com/gh/ursa-labs/crossbow/2896?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link -- This message was sent by Atlassian Jira (v8.3.2#803003)