From: Simon Marchi Date: Sat, 30 Aug 2025 13:20:33 +0000 (-0400) Subject: gdb/testsuite: run black on gdb.base/inline-frame-cycle-unwind.py X-Git-Tag: gdb-17-branchpoint~108 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b42d822476a1e1189de024f1673b198747f975b0;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite: run black on gdb.base/inline-frame-cycle-unwind.py Change-Id: Ib15ecd6c03fce9d50a0121bbcb910e2fa05cc5f9 --- diff --git a/gdb/testsuite/gdb.base/inline-frame-cycle-unwind.py b/gdb/testsuite/gdb.base/inline-frame-cycle-unwind.py index 654ff447523..4ab725761aa 100644 --- a/gdb/testsuite/gdb.base/inline-frame-cycle-unwind.py +++ b/gdb/testsuite/gdb.base/inline-frame-cycle-unwind.py @@ -67,7 +67,7 @@ class TestUnwinder(Unwinder): val = pending_frame.read_register(reg) # Having unavailable registers leads to a fall back to the standard # unwinders. Don't add unavailable registers to avoid this. - if (str (val) == ""): + if str(val) == "": continue unwinder.add_saved_register(reg, val) return unwinder