From: Tom Tromey Date: Sun, 31 Dec 2023 23:36:44 +0000 (-0700) Subject: Run 'black' on tui-window.py X-Git-Tag: binutils-2_42~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6374b0a9834bd7ae1d021dfa58a6b74960516118;p=thirdparty%2Fbinutils-gdb.git Run 'black' on tui-window.py Mark pointed out that a recent patch of mine caused the buildbot to complain about the formatting of some Python test code. This patch re-runs 'black' to fix the problem. --- diff --git a/gdb/testsuite/gdb.python/tui-window.py b/gdb/testsuite/gdb.python/tui-window.py index 47c4403bc48..ebdeaea847d 100644 --- a/gdb/testsuite/gdb.python/tui-window.py +++ b/gdb/testsuite/gdb.python/tui-window.py @@ -32,8 +32,10 @@ class TestWindow: self.win.erase() w = self.win.width h = self.win.height - self.win.write(string="Test: " + str(self.count) + " " + str(w) + "x" + str(h), - full_window=False) + self.win.write( + string="Test: " + str(self.count) + " " + str(w) + "x" + str(h), + full_window=False, + ) self.count = self.count + 1 # Tries to delete the title attribute. GDB will throw an error.