Skip to content

Commit

Permalink
HOTFIX: Remove gratuitous f-string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
Lnk2past authored Sep 10, 2021
1 parent 1c63a25 commit dfd7d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contest/TestCase.py
Original file line number Diff line number Diff line change
@@ -165,7 +165,7 @@ def check_streams(stream, expected, received):
logger.debug(f'{stream} line {line_number}:\n"{e}"\n"{r}"\n', extra=logger_format_fields)
if e != r:
if None in [e, r]:
logger.critical(f'ERROR: Expected and received streams do not have equal length!', extra=logger_format_fields)
logger.critical('ERROR: Expected and received streams do not have equal length!', extra=logger_format_fields)
e = '' if e is None else e
r = '' if r is None else r
i = 0

0 comments on commit dfd7d76

Please sign in to comment.