Skip to content

Commit

Permalink
Use an f-string here as in lines above
Browse files Browse the repository at this point in the history
Tried black version 21.7b0 and it made a mess of the original.
  • Loading branch information
peterjc committed Aug 27, 2021
1 parent 32956d8 commit 508eefa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/GenBank/check_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def do_comparison(good_record, test_record):
raise AssertionError(f"Extra info in Expected: `{good_line}`")

assert test_line == good_line, (
"Expected does not match Test.\nExpect:`%s`\nTest :`%s`\n"
% (good_line, test_line)
"Expected does not match Test.\n"
f"Expect:`{good_line}`\nTest :`{test_line}`\n"
)


Expand Down

0 comments on commit 508eefa

Please sign in to comment.