diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/expression_command/radar_9673664')
| -rw-r--r-- | packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py | 14 | 
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py b/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py index a1505b08c508..a6c0c050c468 100644 --- a/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py +++ b/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py @@ -5,13 +5,14 @@ Test example snippets from the lldb 'help expression' output.  from __future__ import print_function - -import os, time +import os +import time  import lldb  from lldbsuite.test.decorators import *  from lldbsuite.test.lldbtest import *  from lldbsuite.test import lldbutil +  class Radar9673644TestCase(TestBase):      mydir = TestBase.compute_mydir(__file__) @@ -30,13 +31,18 @@ class Radar9673644TestCase(TestBase):          self.runCmd("file a.out", CURRENT_EXECUTABLE_SET) -        lldbutil.run_break_set_by_file_and_line (self, self.main_source, self.line, num_expected_locations=1, loc_exact=True) +        lldbutil.run_break_set_by_file_and_line( +            self, +            self.main_source, +            self.line, +            num_expected_locations=1, +            loc_exact=True)          self.runCmd("run", RUN_SUCCEEDED)          # rdar://problem/9673664 lldb expression evaluation problem          self.expect('expr char c[] = "foo"; c[0]', -            substrs = ["'f'"]) +                    substrs=["'f'"])          # runCmd: expr char c[] = "foo"; c[0]          # output: (char) $0 = 'f'  | 
