From: Jonas Devlieghere Date: Fri, 30 Aug 2019 20:46:55 +0000 (+0000) Subject: [test] Make sure PROMPT is a string X-Git-Tag: llvmorg-11-init~10352 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c847cf31b0b0f8da8e13912b1cc1451d05f9b414;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/lldb/packages/Python/lldbsuite/test/lldbpexpect.py b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py index bb50f47..db98903 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)