Author: Jonas Devlieghere
Date: 2023-03-13T14:48:05-07:00
New Revision: 9c972a3d82f303714be6d4f1485a0dc6642cd5f3

URL: 
https://github.com/llvm/llvm-project/commit/9c972a3d82f303714be6d4f1485a0dc6642cd5f3
DIFF: 
https://github.com/llvm/llvm-project/commit/9c972a3d82f303714be6d4f1485a0dc6642cd5f3.diff

LOG: [lldb] Explicitly import json in TestSymbolFileJSON.py

The test was relying on the json module getting imported transitively by
one of its imported modules. Make this less brittle by importing it
explicitly.

Added: 
    

Modified: 
    lldb/test/API/macosx/symbols/TestSymbolFileJSON.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/symbols/TestSymbolFileJSON.py 
b/lldb/test/API/macosx/symbols/TestSymbolFileJSON.py
index 9c17f07420e91..3b25a3161149b 100644
--- a/lldb/test/API/macosx/symbols/TestSymbolFileJSON.py
+++ b/lldb/test/API/macosx/symbols/TestSymbolFileJSON.py
@@ -4,6 +4,8 @@
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 
+import json
+
 
 class TargetSymbolsFileJSON(TestBase):
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to