summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
index 31d129b67ee..f9dff0d6fa5 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
@@ -231,7 +231,7 @@ class ProcessAPITestCase(TestBase):
# The bytearray_to_int utility function expects a little endian bytearray.
if byteOrder == lldb.eByteOrderBig:
- new_bytes.reverse()
+ content.reverse()
new_value = bytearray_to_int(content, byteSize)
if new_value != 256:
@@ -239,7 +239,7 @@ class ProcessAPITestCase(TestBase):
# Dump the memory content....
if self.TraceOn():
- for i in new_bytes:
+ for i in content:
print("byte:", i)
@add_test_categories(['pyapi'])
OpenPOWER on IntegriCloud