From f042c908b3039349f1cc6874a04a35860d52df9a Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 1 Feb 2016 18:12:54 +0000 Subject: [PATCH] Fix misnamed variable in TestProcessAPI.py llvm-svn: 259378 --- .../Python/lldbsuite/test/python_api/process/TestProcessAPI.py | 4 ++-- 1 file 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 31d129b..f9dff0d 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']) -- 2.7.4