fix: adds default line ending for csv writing.

the csv library defaults to using CRLF line endings if not specified.
pull/414/head
jaydrennan 6 months ago committed by Bryce Drennan
parent 3f3e080d39
commit e7b6fc40fa

@ -208,7 +208,7 @@ def pytest_sessionfinish(session, exitstatus):
# Write updated, sorted list of node IDs to file
with open(cuda_test_tracker_filepath, "w", newline="") as file:
writer = csv.writer(file)
writer = csv.writer(file, lineterminator="\n")
for node_id in sorted(updated_node_ids):
writer.writerow([node_id])

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Loading…
Cancel
Save