[PATCH] D96502: [debuginfo-tests] Delete unused/duplicate imports

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 06:32:29 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe8b9da712f57: [debuginfo-tests] Delete unused/duplicate imports (authored by jhenderson).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96502/new/

https://reviews.llvm.org/D96502

Files:
  debuginfo-tests/lit.cfg.py


Index: debuginfo-tests/lit.cfg.py
===================================================================
--- debuginfo-tests/lit.cfg.py
+++ debuginfo-tests/lit.cfg.py
@@ -5,14 +5,12 @@
 import re
 import subprocess
 import sys
-import tempfile
 
 import lit.formats
 import lit.util
 
 from lit.llvm import llvm_config
 from lit.llvm.subst import ToolSubst
-from lit.llvm.subst import FindTool
 
 # Configuration file for the 'lit' test runner.
 
@@ -149,7 +147,6 @@
 
 # available_features: REQUIRES/UNSUPPORTED lit commands look at this list.
 if platform.system() == 'Darwin':
-    import subprocess
     xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version']).decode("utf-8")
     match = re.search('lldb-(\d+)', xcode_lldb_vers)
     if match:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96502.323737.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210215/841e1f40/attachment.bin>


More information about the llvm-commits mailing list