From 2264df40df803b1043a686bb25c43363fdff3f6e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 2 Nov 2015 19:38:58 +0000 Subject: 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 --- lldb/packages/Python/lldbsuite/test/dotest.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lldb/packages/Python/lldbsuite') 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 -- cgit v1.2.3