[llvm] [llvm][utils][lit] Fix imports in ManyTests.py example (PR #169328)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 05:59:24 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-testing-tools

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

Fixes #<!-- -->169297

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


1 Files Affected:

- (modified) llvm/utils/lit/examples/many-tests/ManyTests.py (+2-1) 


``````````diff
diff --git a/llvm/utils/lit/examples/many-tests/ManyTests.py b/llvm/utils/lit/examples/many-tests/ManyTests.py
index 89e818a037c39..ffdbbad5a77b1 100644
--- a/llvm/utils/lit/examples/many-tests/ManyTests.py
+++ b/llvm/utils/lit/examples/many-tests/ManyTests.py
@@ -1,4 +1,5 @@
-from lit import Test, TestFormat
+from lit import Test
+from lit.formats import TestFormat
 
 
 class ManyTests(TestFormat):

``````````

</details>


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


More information about the llvm-commits mailing list