From ccfa2ffa88da50009b4f30ec8f5267a28b995ab4 Mon Sep 17 00:00:00 2001 From: yaozhicheng Date: Sat, 11 May 2024 17:53:30 +0800 Subject: [PATCH] context need be last call --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 7355049..6033702 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,7 +2,7 @@ import pytest from mlvp.reporter import process_context, process_func_coverage -@pytest.hookimpl(optionalhook=True) +@pytest.hookimpl(trylast=True, optionalhook=True) def pytest_reporter_context(context, config): process_context(context, config)