[debuginfo-tests] Delete unused/duplicate imports

Differential Revision: https://reviews.llvm.org/D96502

Reviewed by: aprantl

GitOrigin-RevId: e8b9da712f579cbd18f5b993e984c18c501f4802
diff --git a/lit.cfg.py b/lit.cfg.py
index da6cb9b..1657f63 100644
--- a/lit.cfg.py
+++ b/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: