mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-03 19:33:07 +03:00
Remove redundant str() call
The %s placeholder already coerces arguments to a string.
This commit is contained in:
parent
53ece804c7
commit
6121daa72d
|
@ -8,4 +8,4 @@ def pytest_report_header(config):
|
||||||
features.pilinfo(out=out, supported_formats=False)
|
features.pilinfo(out=out, supported_formats=False)
|
||||||
return out.getvalue()
|
return out.getvalue()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return "pytest_report_header failed: %s" % str(e)
|
return "pytest_report_header failed: %s" % e
|
||||||
|
|
Loading…
Reference in New Issue
Block a user