From 19f1f3798de2f9a585ba87298b9723bc07358a59 Mon Sep 17 00:00:00 2001 From: Miical <879754743@qq.com> Date: Sun, 20 Oct 2024 13:43:16 +0800 Subject: [PATCH] Delete conftest --- tests/conftest.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py deleted file mode 100644 index 6033702..0000000 --- a/tests/conftest.py +++ /dev/null @@ -1,14 +0,0 @@ -import pytest -from mlvp.reporter import process_context, process_func_coverage - - -@pytest.hookimpl(trylast=True, optionalhook=True) -def pytest_reporter_context(context, config): - process_context(context, config) - - -@pytest.hookimpl(tryfirst=True, hookwrapper=True) -def pytest_runtest_makereport(item, call): - outcome = yield - report = outcome.get_result() - return process_func_coverage(item, call, report)