Skip to content

Commit

Permalink
Use f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Nov 7, 2023
1 parent 1c8ce3f commit c7ab1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/src/process_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def process_generated_output(context: Context, out, return_code=None):
if return_code:
assert (
out.returncode == 0 or out.returncode == return_code
), "Return code is {}".format(out.returncode)
), f"Return code is {out.returncode}"

# try to decode output as flow of text lines
output = stdout.decode("utf-8").split("\n")
Expand Down

0 comments on commit c7ab1e9

Please sign in to comment.