Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] pandas-master integration test failure #22920

Closed
asfimport opened this issue Sep 14, 2019 · 2 comments
Closed

[Python] pandas-master integration test failure #22920

asfimport opened this issue Sep 14, 2019 · 2 comments

Comments

@asfimport
Copy link

=================================== 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

https://circleci.com/gh/ursa-labs/crossbow/2896?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Reporter: Wes McKinney / @wesm
Assignee: Joris Van den Bossche / @jorisvandenbossche

PRs and other links:

Note: This issue was originally created as ARROW-6561. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Joris Van den Bossche / @jorisvandenbossche:
Sorry, this is because I merged __arrow_array__ support in pandas master, and our tests were assuming it was not there. Patch coming.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 5384
#5384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants