mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Improve string formatting v6 (#33698)
This commit is contained in:
@@ -15,4 +15,4 @@ def pytest_runtest_makereport(item, call):
|
||||
|
||||
# set a report attribute for each phase of a call, which can
|
||||
# be "setup", "call", "teardown"
|
||||
setattr(item, "rep_" + rep.when, rep)
|
||||
setattr(item, f"rep_{rep.when}", rep)
|
||||
|
||||
Reference in New Issue
Block a user