[binutils-gdb] Run 'black' on recent test case
Tom Tromey
tromey@sourceware.org
Fri Sep 8 19:07:55 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3
commit e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Sep 8 13:06:47 2023 -0600
Run 'black' on recent test case
The auto-builders pointed out that I neglected to run 'black' after a
rest testcase change. This patch fixes the oversight.
Diff:
---
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)
More information about the Gdb-cvs
mailing list