This revision was automatically updated to reflect the committed changes. Closed by commit rL325835: Fix TestSBData.py on Windows (authored by amccarth, committed by ). Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D43532?vs=135148&id=135523#toc Repository: rL LLVM https://reviews.llvm.org/D43532 Files: lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py Index: lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py @@ -25,7 +25,7 @@ def test_byte_order_and_address_byte_size(self): """Test the SBData::SetData() to ensure the byte order and address byte size are obeyed""" - addr_data = '\x11\x22\x33\x44\x55\x66\x77\x88' + addr_data = b'\x11\x22\x33\x44\x55\x66\x77\x88' error = lldb.SBError() data = lldb.SBData() data.SetData(error, addr_data, lldb.eByteOrderBig, 4)
Index: lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py @@ -25,7 +25,7 @@ def test_byte_order_and_address_byte_size(self): """Test the SBData::SetData() to ensure the byte order and address byte size are obeyed""" - addr_data = '\x11\x22\x33\x44\x55\x66\x77\x88' + addr_data = b'\x11\x22\x33\x44\x55\x66\x77\x88' error = lldb.SBError() data = lldb.SBData() data.SetData(error, addr_data, lldb.eByteOrderBig, 4)
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits