From 19474e1801ca3eafe9a07d0cf49ee20a9104b434 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 3 Nov 2015 19:20:39 +0000 Subject: Remove `use_lldb_suite` from the package, and don't import it anymore. This module was originally intended to be imported by top-level scripts to be able to find the LLDB packages and third party libraries. Packages themselves shouldn't need to import it, because by the time it gets into the package, the top-level script should have already done this. Indeed, it was just adding the same values to sys.path multiple times, so this patch is essentially no functional change. To make sure it doesn't get re-introduced, we also delete the `use_lldb_suite` module from `lldbsuite/test`, although the original copy still remains in `lldb/test` llvm-svn: 251963 --- lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | 2 +- .../lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py | 2 +- .../test/python_api/value/linked_list/TestValueAPILinkedList.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value') diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py index 4380f3e5874..77ff07ea648 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py @@ -4,7 +4,7 @@ Test some SBValue APIs. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py index ce9d623e523..77aefe05be4 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py @@ -4,7 +4,7 @@ Test some SBValue APIs. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py index b96351ece32..22d7e7ebf7e 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py @@ -5,7 +5,7 @@ supports iteration till the end of list is reached. from __future__ import print_function -import use_lldb_suite + import os, time import re -- cgit v1.2.3