Author: jdevlieghere
Date: Tue Jun 25 14:19:44 2019
New Revision: 364351

URL: http://llvm.org/viewvc/llvm-project?rev=364351&view=rev
Log:
[dotest] Remove unused function

The function `EnvArray` has no used.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=364351&r1=364350&r2=364351&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Tue Jun 25 14:19:44 
2019
@@ -203,14 +203,6 @@ def SETTING_MSG(setting):
     return "Value of setting '%s' is correct" % setting
 
 
-def EnvArray():
-    """Returns an env variable array from the os.environ map object."""
-    return list(map(lambda k,
-                    v: k + "=" + v,
-                    list(os.environ.keys()),
-                    list(os.environ.values())))
-
-
 def line_number(filename, string_to_match):
     """Helper function to return the line number of the first matched 
string."""
     with io.open(filename, mode='r', encoding="utf-8") as f:
@@ -1877,7 +1869,7 @@ class TestBase(Base):
         # Make sure that a sanitizer LLDB's environment doesn't get passed on.
         if 'DYLD_LIBRARY_PATH' in os.environ:
             self.runCmd('settings set target.env-vars DYLD_LIBRARY_PATH=')
-        
+
         if "LLDB_MAX_LAUNCH_COUNT" in os.environ:
             self.maxLaunchCount = int(os.environ["LLDB_MAX_LAUNCH_COUNT"])
 


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

Reply via email to