From 6ded320dfe7aa4c6a995df2d4a97fccb6f82c8e9 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 10 Dec 2024 13:11:35 -0700 Subject: [PATCH] Fix formatting bug with output of percentage complete --- btest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btest b/btest index dcdc360..4b0a3b6 100755 --- a/btest +++ b/btest @@ -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):