aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authormarmeladema <xademax@gmail.com>2019-12-10 23:56:12 +0000
committermarmeladema <xademax@gmail.com>2019-12-11 16:03:20 +0000
commit7b5fabe8552b9245a70961db9ec592a55102bb0e (patch)
treeb31bc428ddabb8dfeaabafaff504f4db7e937401 /python/servo/testing_commands.py
parent9d04f231f4a32050d78221d4e13d4951df649269 (diff)
downloadservo-7b5fabe8552b9245a70961db9ec592a55102bb0e.tar.gz
servo-7b5fabe8552b9245a70961db9ec592a55102bb0e.zip
Fix tidiness errors for Python3 compatibility across whole repo
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 56a81baabff..c60f2d23be1 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -700,20 +700,20 @@ class MachCommands(CommandBase):
width_col4 = max([len(str(x)) for x in result['Difference(%)']])
for p, q, r, s in zip(['Test'], ['First Run'], ['Second Run'], ['Difference(%)']):
- print ("\033[1m" + "{}|{}|{}|{}".format(p.ljust(width_col1), q.ljust(width_col2), r.ljust(width_col3),
- s.ljust(width_col4)) + "\033[0m" + "\n" + "--------------------------------------------------"
- + "-------------------------------------------------------------------------")
+ print("\033[1m" + "{}|{}|{}|{}".format(p.ljust(width_col1), q.ljust(width_col2), r.ljust(width_col3),
+ s.ljust(width_col4)) + "\033[0m" + "\n" + "--------------------------------------------------"
+ + "-------------------------------------------------------------------------")
for a1, b1, c1, d1 in zip(result['Test'], result['Prev_Time'], result['Cur_Time'], result['Difference(%)']):
if d1 > 0:
- print ("\033[91m" + "{}|{}|{}|{}".format(a1.ljust(width_col1),
- str(b1).ljust(width_col2), str(c1).ljust(width_col3), str(d1).ljust(width_col4)) + "\033[0m")
+ print("\033[91m" + "{}|{}|{}|{}".format(a1.ljust(width_col1),
+ str(b1).ljust(width_col2), str(c1).ljust(width_col3), str(d1).ljust(width_col4)) + "\033[0m")
elif d1 < 0:
- print ("\033[92m" + "{}|{}|{}|{}".format(a1.ljust(width_col1),
- str(b1).ljust(width_col2), str(c1).ljust(width_col3), str(d1).ljust(width_col4)) + "\033[0m")
+ print("\033[92m" + "{}|{}|{}|{}".format(a1.ljust(width_col1),
+ str(b1).ljust(width_col2), str(c1).ljust(width_col3), str(d1).ljust(width_col4)) + "\033[0m")
else:
- print ("{}|{}|{}|{}".format(a1.ljust(width_col1), str(b1).ljust(width_col2),
- str(c1).ljust(width_col3), str(d1).ljust(width_col4)))
+ print("{}|{}|{}|{}".format(a1.ljust(width_col1), str(b1).ljust(width_col2),
+ str(c1).ljust(width_col3), str(d1).ljust(width_col4)))
def jquery_test_runner(self, cmd, release, dev):
self.ensure_bootstrapped()