We do not need one more pilinfo. The one printed by selftest.py is enough. --- pillow-10.3.0/Tests/conftest.py.orig +++ pillow-10.3.0/Tests/conftest.py @@ -5,17 +5,6 @@ import pytest -def pytest_report_header(config: pytest.Config) -> str: - try: - from PIL import features - - with io.StringIO() as out: - features.pilinfo(out=out, supported_formats=False) - return out.getvalue() - except Exception as e: - return f"pytest_report_header failed: {e}" - - def pytest_configure(config: pytest.Config) -> None: config.addinivalue_line( "markers",