Remove redundant str() call

The %s placeholder already coerces arguments to a string.
This commit is contained in:
Jon Dufresne 2020-02-17 09:18:49 -08:00
parent 53ece804c7
commit 6121daa72d

View File

@ -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