mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
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
This commit is contained in:
parent
9454757508
commit
ee31f69690
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user