Improve string formatting v6 (#33698)
This commit is contained in:
parent
d7e3b0b755
commit
eae21be5b9
43 changed files with 81 additions and 87 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue