diff options
author | Zachary Turner <zturner@google.com> | 2015-11-02 19:38:58 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-11-02 19:38:58 +0000 |
commit | 2264df40df803b1043a686bb25c43363fdff3f6e (patch) | |
tree | 51cf1bad041e5847de8c1db9b61aeea716f9070d | |
parent | 4c5cb9c1da64f9cf7487bdf47e0bcee97d4b86aa (diff) | |
download | bcm5719-llvm-2264df40df803b1043a686bb25c43363fdff3f6e.tar.gz bcm5719-llvm-2264df40df803b1043a686bb25c43363fdff3f6e.zip |
Remove the __import__ hack of lldbtest_config.
I think the underlying problem was fixed by r251819, but I can't
reproduce the problem. So this is to check whether it does in
fact fix the problem.
llvm-svn: 251822
-rwxr-xr-x | lldb/packages/Python/lldbsuite/test/dotest.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 278b22c78c6..a27b55c2044 100755 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -19,15 +19,12 @@ for available options. """ from __future__ import print_function -# this module needs to have global visibility, otherwise test cases -# will import it anew in their local namespace, essentially losing access -# to all the configuration data -globals()['lldbtest_config'] = __import__('lldbtest_config') import use_lldb_suite - import lldbsuite +import lldbtest_config + import atexit import commands import importlib |