You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Eduardo Ponce (Jira)" <ji...@apache.org> on 2021/08/20 19:43:00 UTC

[jira] [Created] (ARROW-13686) [Python] Update deprecated pytest yield_fixture functions

Eduardo Ponce created ARROW-13686:
-------------------------------------

             Summary: [Python] Update deprecated pytest yield_fixture functions
                 Key: ARROW-13686
                 URL: https://issues.apache.org/jira/browse/ARROW-13686
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Eduardo Ponce
             Fix For: 6.0.0


[Since pytest 3.0, fixture functions support the *yield* statement as a replacement for *yield_fixture*|https://docs.pytest.org/en/6.2.x/yieldfixture.html]. When pytest is run for PyArrow the following deprecation warning is shown:

{code}
the pyarrow/tests/test_serialization.py:283: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same.
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)