URL:
https://github.com/freeipa/freeipa/pull/828
Author: tiran
Title: #828: Silence pytest.yield_fixture deprecation warning
Action: opened
PR body:
"""
pytest >= 2.10 supports yield based fixtures with pytest.fixture. In
pytest < 2.10 pytest.yield_fixture is required. But that function
also raises a deprecation warning in pytest >= 3.0. FreeIPA has to stay
compatible with pytest < 2.10 for RHEL 7 testing.
https://docs.pytest.org/en/latest/fixture.html#fixture-finalization-execu...
https://pagure.io/freeipa/issue/6591
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/828/head:pr828
git checkout pr828