Skip to content

Commit 7d997d6

Browse files
The-Compilerjpvanhal
authored andcommitted
1 parent 99c7aeb commit 7d997d6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changelog
33

44
Here you can see the full list of changes between each pytest-instafail release.
55

6+
0.4.3 (not yet released)
7+
^^^^^^^^^^^^^^^^^^^^^^^^
8+
9+
- Use ``pytest.hookimpl`` to configure hooks, avoiding a deprecation warning in
10+
the upcoming pytest 7.2.0.
11+
612
0.4.2 (June 14, 2020)
713
^^^^^^^^^^^^^^^^^^^^^
814

pytest_instafail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def pytest_addoption(parser):
2222
)
2323

2424

25-
@pytest.mark.trylast
25+
@pytest.hookimpl(trylast=True)
2626
def pytest_configure(config):
2727
if hasattr(config, 'workerinput'):
2828
return # xdist worker, we are already active on the master

0 commit comments

Comments
 (0)