diff options
author | Tom Tromey <tromey@adacore.com> | 2023-09-08 13:06:47 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-09-08 13:06:47 -0600 |
commit | e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3 (patch) | |
tree | aa13a88d72cc9ce8135920392f958aee7b49c8a3 /gdb/testsuite/gdb.python/py-varobj.py | |
parent | 92c713d7da3578a3691a03c52d716094686390b9 (diff) | |
download | binutils-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.py | 1 |
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) |