From: Stefan Eissing Date: Mon, 4 Mar 2024 09:05:52 +0000 (+0100) Subject: pytest: adapt to API change X-Git-Tag: curl-8_7_0~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee31f696902a1b4a80c29e18ad055b93ec08f4bf;p=thirdparty%2Fcurl.git 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 --- 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 = [