mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Updated format string for test_differ.py.
This commit is contained in:
parent
0bd05e50c8
commit
9ebd156889
1 changed files with 1 additions and 1 deletions
|
@ -48,4 +48,4 @@ for key in keys:
|
|||
diff = value2 - value1
|
||||
change = diff / value1
|
||||
color = BLUE if value1 <= value2 else GREEN
|
||||
print("{}Test {}: first={}, second={}, diff={}, change={:.2%}.{}".format(color, key, value1, value2, diff, change, END))
|
||||
print("{}{:6} {:6} {:+6} {:+8.2%} {}.{}".format(color, value1, value2, diff, change, key, END))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue