From ee31f696902a1b4a80c29e18ad055b93ec08f4bf Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Mon, 4 Mar 2024 10:05:52 +0100 Subject: [PATCH] pytest: adapt to API change - pytest has changed the signature of the hook pytest_report_header() for some obscure reason and that change landed in our CI now - remove the changed param that we never used anyway Closes #13037 --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 713a174231..7ab6d7c9fe 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -26,10 +26,10 @@ import sys, os sys.path.append(os.path.join(os.path.dirname(__file__), 'http')) -import pytest from testenv import Env -def pytest_report_header(config, startdir): + +def pytest_report_header(config): # Env inits its base properties only once, we can report them here env = Env() report = [ -- 2.47.3