diff options
| author | Zachary Turner <zturner@google.com> | 2015-10-26 16:49:57 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-10-26 16:49:57 +0000 |
| commit | 744cd5d8ed9c46dc05718c9cf598a1a4f29ef8ff (patch) | |
| tree | 36d50ffc82ba2e43c7c581868a45c37c0a5d610c /lldb/test/functionalities/inferior-assert | |
| parent | c4645bb0e653b85e2b41ce00c0f62a398d154f77 (diff) | |
| download | bcm5719-llvm-744cd5d8ed9c46dc05718c9cf598a1a4f29ef8ff.tar.gz bcm5719-llvm-744cd5d8ed9c46dc05718c9cf598a1a4f29ef8ff.zip | |
Fix usages of range() and xrange() for Python 3.
llvm-svn: 251302
Diffstat (limited to 'lldb/test/functionalities/inferior-assert')
| -rw-r--r-- | lldb/test/functionalities/inferior-assert/TestInferiorAssert.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py index 2bf1108cdbb..ccf4d61f222 100644 --- a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -20,7 +20,7 @@ class AssertingInferiorTestCase(TestBase): self.inferior_asserting() @expectedFailureWindows("llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") - @expectedFailureAndroid(api_levels=range(16 + 1)) # b.android.com/179836 + @expectedFailureAndroid(api_levels=list(range(16 + 1))) # b.android.com/179836 def test_inferior_asserting_register(self): """Test that lldb reliably reads registers from the inferior after asserting (command).""" self.build() @@ -58,7 +58,7 @@ class AssertingInferiorTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.c", line, num_expected_locations=1, loc_exact=True) def check_stop_reason(self): - if matchAndroid(api_levels=range(1, 16+1))(self): + if matchAndroid(api_levels=list(range(1, 16+1)))(self): # On android until API-16 the abort() call ended in a sigsegv instead of in a sigabrt stop_reason = 'stop reason = signal SIGSEGV' else: |

