Skip to content

Commit

Permalink
fixup! python version fixup
Browse files Browse the repository at this point in the history
"SyntaxError: f-string expression part cannot include a backslash"
  • Loading branch information
faho committed Jan 11, 2025
1 parent 3e5a787 commit 7cec4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def main():
if passcount + failcount + skipcount > 1:
print(f"{passcount} / {passcount + failcount} passed ({skipcount} skipped)")
if failcount:
print(f"{RED}Failed tests{RESET}: \n {'\n '.join(failed)}")
failstr = '\n '.join(failed)
print(f"{RED}Failed tests{RESET}: \n {failstr}")
if passcount == 0 and failcount == 0 and skipcount:
return 125
return 1 if failcount else 0
Expand Down

0 comments on commit 7cec4a1

Please sign in to comment.