]> 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>
Thu, 9 Feb 2023 15:45:20 +0000 (15:45 +0000)
commit088e1247e79a7f07b965f32ccb1bb33a7695b366
tree541f0e73a0f66d2ff7686977c5350351b6252302
parent7c8355d205e7490c61af1b0d9e20addea10cb513
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

(cherry picked from commit eaeebfcb38599c94e89bbba3e9c7aeb821c84d71)
tests/conftest.py