diff --git a/Tests/conftest.py b/Tests/conftest.py new file mode 100644 index 00000000000..2b796148d84 --- /dev/null +++ b/Tests/conftest.py @@ -0,0 +1,11 @@ +def pytest_report_header(config): + import io + + 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 "pytest_report_header failed: %s" % str(e)