Skip to content

Commit

Permalink
Remove more py f-string uses.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jan 9, 2024
1 parent bf44f19 commit 6d60509
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ def handler(sig, frame):
open("test_results.txt", "w").close()

if not xml:
print(f'''
print('''
=== Test summary ===
PASS: {pass_count}
FAIL: {failures_count}
TIME: {time.perf_counter() - start_ts:.0f}s
''')
PASS: {}
FAIL: {}
TIME: {:.0f}s
'''.format(pass_count,failures_count,time.perf_counter() - start_ts))

# exit with failure with failures
if cancelled or failures_count > 0:
Expand Down

0 comments on commit 6d60509

Please sign in to comment.