Skip to content

Commit

Permalink
Fix formatting bug with output of percentage complete
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Dec 10, 2024
1 parent a939b12 commit 6ded320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btest
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ class Console(OutputHandler):
OutputHandler.__init__(self, options, reopen_std_file(sys.__stdout__))

def testStart(self, test):
msg = f"[{test.mgr.percentage():>3}%] {test.displayName()} ..."
msg = f"[{test.mgr.percentage():>3.0f}%] {test.displayName()} ..."
self.output(test, msg, nl=False)

def testProgress(self, test, msg):
Expand Down

0 comments on commit 6ded320

Please sign in to comment.