From 572ecd7fb1fa4463032d0dc00213ecafe2224d01 Mon Sep 17 00:00:00 2001 From: Philipp Albrecht Date: Fri, 5 Nov 2021 14:50:18 +0100 Subject: Report backend in pytest_report_header() --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index cc6cb970f..beab14a52 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -237,6 +237,10 @@ def pytest_configure(config): earlyinit.configure_pyqt() +def pytest_report_header(config): + return f'backend: {config.backend}' + + @pytest.fixture(scope='session', autouse=True) def check_display(request): if utils.is_linux and not os.environ.get('DISPLAY', ''): -- cgit v1.2.3-54-g00ecf