]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Run 'black' on tui-window.py
authorTom Tromey <tom@tromey.com>
Sun, 31 Dec 2023 23:36:44 +0000 (16:36 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 31 Dec 2023 23:36:44 +0000 (16:36 -0700)
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.

gdb/testsuite/gdb.python/tui-window.py

index 47c4403bc483e930f5efb834a37fc73a70d932a4..ebdeaea847defdc42943b88c5abf3a46b37e64d0 100644 (file)
@@ -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.