summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-30 20:46:55 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-30 20:46:55 +0000
commitc847cf31b0b0f8da8e13912b1cc1451d05f9b414 (patch)
treebeceaa839db779aa8ae3bcb6e715b872fa387a17
parent0bb1630685fba255fa93def92603f064c2ffd203 (diff)
downloadbcm5719-llvm-c847cf31b0b0f8da8e13912b1cc1451d05f9b414.tar.gz
bcm5719-llvm-c847cf31b0b0f8da8e13912b1cc1451d05f9b414.zip
[test] Make sure PROMPT is a string
Currently tests using expect_prompt are failing on the Python 3 bot with an error saying "argument must be str, not bytes". I don't have a Python 3 build handy, but I suspect this might fix that. llvm-svn: 370526
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbpexpect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
index bb50f47e02e..db989036cd2 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
@@ -22,7 +22,7 @@ else:
class PExpectTest(TestBase):
NO_DEBUG_INFO_TESTCASE = True
- PROMPT = "(lldb) "
+ PROMPT = str("(lldb) ")
def expect_prompt(self):
self.child.expect_exact(self.PROMPT)
OpenPOWER on IntegriCloud