diff options
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 7209c364c..504f1ceb7 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -115,7 +115,7 @@ def assemble_to_s(llvm_mc: str, asm_path: str, s_path: str, name: str) -> None: | |||
| 115 | continue | 115 | continue |
| 116 | if ln.startswith("\t"): | 116 | if ln.startswith("\t"): |
| 117 | lines.append(ln) | 117 | lines.append(ln) |
| 118 | with open(s_path, "w", encoding="utf-8") as f: | 118 | with open(s_path, "w", encoding="utf-8", newline="\n") as f: |
| 119 | f.write("\n".join(lines) + "\n") | 119 | f.write("\n".join(lines) + "\n") |
| 120 | 120 | ||
| 121 | 121 | ||