Write benchmark evidence with portable line endings
This commit is contained in:
@@ -147,7 +147,7 @@ def main():
|
||||
output.parent.mkdir(parents=True, exist_ok=True)
|
||||
new_file = not output.exists()
|
||||
with output.open("a", newline="") as result:
|
||||
writer = csv.DictWriter(result, fieldnames=FIELDS)
|
||||
writer = csv.DictWriter(result, fieldnames=FIELDS, lineterminator="\n")
|
||||
if new_file:
|
||||
writer.writeheader()
|
||||
for history in HISTORY:
|
||||
|
||||
Reference in New Issue
Block a user