diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 0799ac789ded..13948edfcfca 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