[pushed] Run 'black' on tui-window.py

Message ID 20231231233735.1176104-1-tom@tromey.com
State New
Headers
Series [pushed] Run 'black' on tui-window.py |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Tom Tromey Dec. 31, 2023, 11:37 p.m. UTC
  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 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
  

Patch

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.