summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/darwin_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/darwin_log.py b/lldb/packages/Python/lldbsuite/test/darwin_log.py
index f2d4f1df6e2..103341bc03f 100644
--- a/lldb/packages/Python/lldbsuite/test/darwin_log.py
+++ b/lldb/packages/Python/lldbsuite/test/darwin_log.py
@@ -7,7 +7,6 @@ from __future__ import print_function
import json
import os
-import pexpect
import platform
import re
import sys
@@ -59,6 +58,7 @@ class DarwinLogTestBase(lldbtest.TestBase):
def run_lldb_to_breakpoint(self, exe, source_file, line,
enable_command=None, settings_commands=None):
+ import pexpect
# Set self.child_prompt, which is "(lldb) ".
prompt = self.child_prompt
OpenPOWER on IntegriCloud