diff options
author | Dimitar Vlahovski <dvlahovski@google.com> | 2016-08-19 12:44:53 +0000 |
---|---|---|
committer | Dimitar Vlahovski <dvlahovski@google.com> | 2016-08-19 12:44:53 +0000 |
commit | d909f9551c94da88f5d70bafe9d833d56c53e0b1 (patch) | |
tree | 406483afdf5bba90e77ccafa86df109cf82ed6b3 /lldb/packages/Python/lldbsuite/test/darwin_log.py | |
parent | 96fcf5df03294d481867c72282b6f039c002b14e (diff) | |
download | bcm5719-llvm-d909f9551c94da88f5d70bafe9d833d56c53e0b1.tar.gz bcm5719-llvm-d909f9551c94da88f5d70bafe9d833d56c53e0b1.zip |
Fixing a Darwing test thats failing on windows
The pexpect import should be make after the skip-if-not-darwin part
because pexpect is not available on Windows
llvm-svn: 279234
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/darwin_log.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/darwin_log.py | 2 |
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 |