]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pytest: silence deprecation warning in the pytest atf wrapper
authorJose Luis Duran <jlduran@gmail.com>
Wed, 28 Dec 2022 15:51:18 +0000 (15:51 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Wed, 28 Dec 2022 15:53:48 +0000 (15:53 +0000)
commiteaeebfcb38599c94e89bbba3e9c7aeb821c84d71
tree151eabd2000c8c258604aff3b620affbcbba5120
parentbd5d9037c5dd79390faf8ee37eecd99e1c378bf0
pytest: silence deprecation warning in the pytest atf wrapper

Convert `pytest.mark` decorator to the `pytest.hookimpl()` one,
 as suggested by the
 https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers

Differential Revision: https://reviews.freebsd.org/D37884
MFC after: 2 weeks
tests/conftest.py