From 6121daa72dbbb976becbae7bcf993e01a37ac0ea Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 17 Feb 2020 09:18:49 -0800 Subject: [PATCH] Remove redundant str() call The %s placeholder already coerces arguments to a string. --- Tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/conftest.py b/Tests/conftest.py index 2b796148d..7f9091aff 100644 --- a/Tests/conftest.py +++ b/Tests/conftest.py @@ -8,4 +8,4 @@ def pytest_report_header(config): features.pilinfo(out=out, supported_formats=False) return out.getvalue() except Exception as e: - return "pytest_report_header failed: %s" % str(e) + return "pytest_report_header failed: %s" % e