Changeset: 6d56bdbf3f28 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6d56bdbf3f28
Modified Files:
testing/Mtest.py.in
Branch: default
Log Message:
Move a space in the output.
diffs (16 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3082,10 +3082,10 @@ def progress(count, errors, total, test,
nl = up = down = ''
perc = int(count*100/total) if total and count else 0
width = len(str(total))
- s = f'[{count:{width}}/{total}] ({perc:2}%) {test}'
+ s = f'[{count:{width}}/{total}] ({perc:3}%) {test}'
if len(s) > ttywidth:
test = test[len(s)-ttywidth:]
- s = f'[{count:{width}}/{total}] ({perc:2}%) {test}'
+ s = f'[{count:{width}}/{total}] ({perc:3}%) {test}'
sys.stdout.write(nl + '\r' + up + spaces + '\r' + s + down + errs)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]