We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c7aeb commit 7d997d6Copy full SHA for 7d997d6
CHANGES.rst
@@ -3,6 +3,12 @@ Changelog
3
4
Here you can see the full list of changes between each pytest-instafail release.
5
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
12
0.4.2 (June 14, 2020)
13
^^^^^^^^^^^^^^^^^^^^^
14
pytest_instafail.py
@@ -22,7 +22,7 @@ def pytest_addoption(parser):
22
)
23
24
25
-@pytest.mark.trylast
+@pytest.hookimpl(trylast=True)
26
def pytest_configure(config):
27
if hasattr(config, 'workerinput'):
28
return # xdist worker, we are already active on the master
0 commit comments