diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-disasm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-disasm.py b/gdb/testsuite/gdb.python/py-disasm.py index ec6b0e8..67ba675 100644 --- a/gdb/testsuite/gdb.python/py-disasm.py +++ b/gdb/testsuite/gdb.python/py-disasm.py @@ -31,7 +31,7 @@ def builtin_disassemble_wrapper(info): assert len(result.parts) > 0 tmp_str = "" for p in result.parts: - assert(p.string == str(p)) + assert p.string == str(p) tmp_str += p.string assert tmp_str == result.string return result @@ -586,9 +586,9 @@ class All_Text_Part_Styles(TestDisassembler): result = builtin_disassemble_wrapper(info) result = DisassemblerResult(length=result.length, parts=parts) - tmp_str = ""; + tmp_str = "" for p in parts: - assert (p.string == str(p)) + assert p.string == str(p) tmp_str += str(p) assert tmp_str == result.string |