From: Tom Tromey Date: Fri, 8 Sep 2023 19:06:47 +0000 (-0600) Subject: Run 'black' on recent test case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3;p=binutils-gdb.git 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 --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)