summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-07-15 12:19:28 +0000
committerPavel Labath <labath@google.com>2016-07-15 12:19:28 +0000
commit9377a7b6a811cd0d55c100cc693ea6f46ceeac75 (patch)
treeb4dcd23cef554790187c11c720a4163881c877f8 /lldb/packages/Python
parentefd841e294c85ba2a74d30028cfd59b3f66dfc7d (diff)
downloadbcm5719-llvm-9377a7b6a811cd0d55c100cc693ea6f46ceeac75.tar.gz
bcm5719-llvm-9377a7b6a811cd0d55c100cc693ea6f46ceeac75.zip
Fix TestDarwinNSLogOutput for windows
pexpect python package does not exist on windows llvm-svn: 275555
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py b/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
index 769f483eca8..15d25bb713a 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
+++ b/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
@@ -10,7 +10,6 @@ from __future__ import print_function
import lldb
import os
-import pexpect
import platform
import re
import sys
@@ -58,6 +57,7 @@ class DarwinNSLogOutputTestCase(lldbtest.TestBase):
prompt = self.child_prompt
# So that the child gets torn down after the test.
+ import pexpect
self.child = pexpect.spawn('%s %s %s' % (lldbtest_config.lldbExec,
self.lldbOption, exe))
child = self.child
OpenPOWER on IntegriCloud