From 18da38edb315fe9e063348c4d785b26111b6d7ec Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Thu, 5 Nov 2015 22:00:47 +0000 Subject: Fix OS X tests. llvm-svn: 252218 --- lldb/packages/Python/lldbsuite/test/dotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 0799ac789de..13948edfcfc 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -387,7 +387,7 @@ def setupCrashInfoHook(): global setCrashInfoHook setCrashInfoHook = setCrashInfoHook_NonMac # safe default if platform.system() == "Darwin": - import lock + from . import lock test_dir = os.environ['LLDB_TEST'] if not test_dir or not os.path.exists(test_dir): return -- cgit v1.2.3