mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix tidy issues in wpt-timing.py.
This commit is contained in:
parent
ed715fc16f
commit
5867e115c2
1 changed files with 2 additions and 2 deletions
|
@ -11,10 +11,10 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import itertools
|
|
||||||
import collections
|
import collections
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
|
|
||||||
def process_log(data):
|
def process_log(data):
|
||||||
tests = {}
|
tests = {}
|
||||||
test_results = collections.defaultdict(list)
|
test_results = collections.defaultdict(list)
|
||||||
|
@ -73,7 +73,7 @@ longest_fail = sorted(
|
||||||
with open('longest_err.csv', 'w') as csv_file:
|
with open('longest_err.csv', 'w') as csv_file:
|
||||||
writer = csv.writer(csv_file)
|
writer = csv.writer(csv_file)
|
||||||
writer.writerows(csv_data + longest_fail)
|
writer.writerows(csv_data + longest_fail)
|
||||||
|
|
||||||
longest_timeout = sorted(test_results["TIMEOUT"], key=lambda x: x[1], reverse=True)
|
longest_timeout = sorted(test_results["TIMEOUT"], key=lambda x: x[1], reverse=True)
|
||||||
with open('timeouts.csv', 'w') as csv_file:
|
with open('timeouts.csv', 'w') as csv_file:
|
||||||
writer = csv.writer(csv_file)
|
writer = csv.writer(csv_file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue