aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-varobj.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-08 13:06:47 -0600
committerTom Tromey <tromey@adacore.com>2023-09-08 13:06:47 -0600
commite9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3 (patch)
treeaa13a88d72cc9ce8135920392f958aee7b49c8a3 /gdb/testsuite/gdb.python/py-varobj.py
parent92c713d7da3578a3691a03c52d716094686390b9 (diff)
downloadbinutils-e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3.zip
binutils-e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3.tar.gz
binutils-e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-varobj.py')
-rw-r--r--gdb/testsuite/gdb.python/py-varobj.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-varobj.py b/gdb/testsuite/gdb.python/py-varobj.py
index 578ad14..eb83729 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)