Run black on gdb.python/py-disasm.py file and commit the changes.
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
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