summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_regex/TestCommandRegex.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_regex/TestCommandRegex.py')
-rw-r--r--lldb/test/functionalities/command_regex/TestCommandRegex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/command_regex/TestCommandRegex.py b/lldb/test/functionalities/command_regex/TestCommandRegex.py
index 5e9950f98a9..c0bfb38a906 100644
--- a/lldb/test/functionalities/command_regex/TestCommandRegex.py
+++ b/lldb/test/functionalities/command_regex/TestCommandRegex.py
@@ -5,7 +5,6 @@ Test lldb 'commands regex' command which allows the user to create a regular exp
import os
import unittest2
import lldb
-import pexpect
from lldbtest import *
class CommandRegexTestCase(TestBase):
@@ -14,6 +13,7 @@ class CommandRegexTestCase(TestBase):
def test_command_regex(self):
"""Test a simple scenario of 'command regex' invocation and subsequent use."""
+ import pexpect
prompt = "(lldb) "
regex_prompt = "Enter one of more sed substitution commands in the form: 's/<regex>/<subst>/'.\r\nTerminate the substitution list with an empty line.\r\n"
regex_prompt1 = "\r\n"
OpenPOWER on IntegriCloud