summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-12-31 16:36:44 -0700
committerTom Tromey <tom@tromey.com>2023-12-31 16:36:44 -0700
commit6374b0a9834bd7ae1d021dfa58a6b74960516118 (patch)
tree95c0e2031918b272082f17270ac343fef979110c /gdb
parent276e7f5c8835cd300ee75d00556ab8839a30b9ef (diff)
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.python/tui-window.py6
1 files changed, 4 insertions, 2 deletions
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.