[ 
https://issues.apache.org/jira/browse/ARROW-18125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joris Van den Bossche resolved ARROW-18125.
-------------------------------------------
    Resolution: Fixed

Issue resolved by pull request 14729
https://github.com/apache/arrow/pull/14729

> [Python] Handle pytest 8 deprecations about pytest.warns(None) 
> ---------------------------------------------------------------
>
>                 Key: ARROW-18125
>                 URL: https://issues.apache.org/jira/browse/ARROW-18125
>             Project: Apache Arrow
>          Issue Type: Test
>          Components: Python
>            Reporter: Joris Van den Bossche
>            Assignee: Miles Granger
>            Priority: Major
>             Fix For: 11.0.0
>
>
> We have a few warnings about that when running the tests, for example:
> {code}
> pyarrow/tests/test_pandas.py::TestConvertMetadata::test_rangeindex_doesnt_warn
> pyarrow/tests/test_pandas.py::TestConvertMetadata::test_multiindex_doesnt_warn
>   
> /home/joris/miniconda3/envs/arrow-dev/lib/python3.10/site-packages/_pytest/python.py:192:
>  PytestRemovedIn8Warning: Passing None has been deprecated.
>   See 
> https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests
>  for alternatives in common use cases.
>     result = testfunction(**testargs)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to