Skip to content

Commit ec22fc4

Browse files
committed
Fix deprecation warning
1 parent 5fa6253 commit ec22fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_relaxed/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def pytest_collect_file(file_path, parent):
3737
return SpecModule.from_parent(parent=parent, path=file_path)
3838

3939

40-
@pytest.mark.trylast # So we can be sure builtin terminalreporter exists
40+
@pytest.hookimpl(trylast=True) # Be sure builtin terminalreporter exists
4141
def pytest_configure(config):
4242
# TODO: we _may_ sometime want to do the isatty/slaveinput/etc checks that
4343
# pytest-sugar does?

0 commit comments

Comments
 (0)