Skip to content

Commit

Permalink
Stop using deprecated @pytest.mark.trylast
Browse files Browse the repository at this point in the history
Fixes #155

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
  • Loading branch information
s0undt3ch committed Jul 31, 2023
1 parent 3e76eff commit 5b9f727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/155.improvement.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Stop using deprecated `@pytest.mark.trylast`
2 changes: 1 addition & 1 deletion src/saltfactories/plugins/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def pytest_runtest_setup(item):
saltfactories.utils.markers.evaluate_markers(item)


@pytest.mark.trylast
@pytest.hookimpl(trylast=True)
def pytest_configure(config):
"""
Configure the pytest plugin.
Expand Down

0 comments on commit 5b9f727

Please sign in to comment.