diff options
author | Zachary Turner <zturner@google.com> | 2016-02-01 18:12:54 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-02-01 18:12:54 +0000 |
commit | f042c908b3039349f1cc6874a04a35860d52df9a (patch) | |
tree | 56eaeca964c5313298f779ee988c71f4540bb56b /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | cf57c5a4eefeb36ce6fc64c9b68b235006d53962 (diff) | |
download | bcm5719-llvm-f042c908b3039349f1cc6874a04a35860d52df9a.tar.gz bcm5719-llvm-f042c908b3039349f1cc6874a04a35860d52df9a.zip |
Fix misnamed variable in TestProcessAPI.py
llvm-svn: 259378
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | 4 |
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']) |