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

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 06:24:36 PST 2025


Author: David Spickett
Date: 2025-11-24T14:24:32Z
New Revision: 4a567e3e7c35257e47ee2fb6de61c2c4fb0d4af0

URL: https://github.com/llvm/llvm-project/commit/4a567e3e7c35257e47ee2fb6de61c2c4fb0d4af0
DIFF: https://github.com/llvm/llvm-project/commit/4a567e3e7c35257e47ee2fb6de61c2c4fb0d4af0.diff

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

Fixes #169297

Added: 
    

Modified: 
    llvm/utils/lit/examples/many-tests/ManyTests.py

Removed: 
    


################################################################################
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):


        


More information about the llvm-commits mailing list