From e9536c6dd51b6d989f6efbfa12bfdf5c2bc499a3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 8 Sep 2023 13:06:47 -0600 Subject: [PATCH] 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. --- 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.30.2