[llvm] fix: add encoding for Python 3.14 compatibility in lit test file (PR #178261)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 09:31:19 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-testing-tools

Author: Igor Luppi (igorluppi)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/178261.diff


1 Files Affected:

- (modified) llvm/utils/lit/tests/shtest-encoding.py (+1) 


``````````diff
diff --git a/llvm/utils/lit/tests/shtest-encoding.py b/llvm/utils/lit/tests/shtest-encoding.py
index dfc987f6df7ee..6cbbd25777b81 100644
--- a/llvm/utils/lit/tests/shtest-encoding.py
+++ b/llvm/utils/lit/tests/shtest-encoding.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 # RUN: true
 
 # Here is a string that cannot be decoded in line mode: �.

``````````

</details>


https://github.com/llvm/llvm-project/pull/178261


More information about the llvm-commits mailing list