* [pushed] Run 'black' on recent test case
@ 2023-09-08 19:07 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-09-08 19:07 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
The auto-builders pointed out that I neglected to run 'black' after a
rest testcase change. This patch fixes the oversight.
---
gdb/testsuite/gdb.python/py-varobj.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/testsuite/gdb.python/py-varobj.py b/gdb/testsuite/gdb.python/py-varobj.py
index 578ad14d4df..eb83729aaab 100644
--- a/gdb/testsuite/gdb.python/py-varobj.py
+++ b/gdb/testsuite/gdb.python/py-varobj.py
@@ -34,4 +34,5 @@ def str_lookup_function(val):
if val.type.code == gdb.TYPE_CODE_PTR and val.type.target().tag == "test":
return TestPrinter(val.dereference())
+
gdb.printing.register_pretty_printer(None, str_lookup_function)
--
2.40.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-08 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 19:07 [pushed] Run 'black' on recent test case Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).