Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13686

[Python] Update deprecated pytest yield_fixture functions

    XMLWordPrintableJSON

Details

    Description

      Since pytest 3.0, fixture functions support the yield statement as a replacement for yield_fixture. When pytest is run for PyArrow the following deprecation warning is shown:

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

      Attachments

        Issue Links

          Activity

            People

              edponce Eduardo Ponce
              edponce Eduardo Ponce
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m