Merge pull request #4427 from jdufresne/str

Remove redundant str() call
This commit is contained in:
Hugo van Kemenade 2020-02-17 20:16:12 +02:00 committed by GitHub
commit 6bcc5bf150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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