David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/bitprophet/pytest-relaxed/issues/28
 
--- pytest-relaxed-2.0.2/pytest_relaxed/plugin.py.orig
+++ pytest-relaxed-2.0.2/pytest_relaxed/plugin.py
@@ -37,7 +37,7 @@
     return SpecModule.from_parent(parent=parent, path=file_path)
 
 
-@pytest.mark.trylast  # So we can be sure builtin terminalreporter exists
+@pytest.hookimpl(trylast=True)  # So we can be sure builtin terminalreporter exists
 def pytest_configure(config):
     # TODO: we _may_ sometime want to do the isatty/slaveinput/etc checks that
     # pytest-sugar does?