From: Simon Marchi Date: Wed, 25 Sep 2024 14:16:59 +0000 (-0400) Subject: gdb/testsuite: format some Python files X-Git-Tag: gdb-16-branchpoint~808 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f82fd76c96ce848d77f86b8f1beefcff7656159c;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite: format some Python files Format with black. Change-Id: I28e79e9da07ea29391ad1942047633960fa72ed2 --- diff --git a/gdb/testsuite/gdb.python/py-pp-cast.py b/gdb/testsuite/gdb.python/py-pp-cast.py index a0c48f9548a..c0719208509 100644 --- a/gdb/testsuite/gdb.python/py-pp-cast.py +++ b/gdb/testsuite/gdb.python/py-pp-cast.py @@ -15,6 +15,7 @@ import gdb.printing + class PpIntPrinter(object): def __init__(self, val): self.val = val diff --git a/gdb/testsuite/gdb.python/py-pp-re-notag.py b/gdb/testsuite/gdb.python/py-pp-re-notag.py index 3bbf5887084..00bc5c7670f 100644 --- a/gdb/testsuite/gdb.python/py-pp-re-notag.py +++ b/gdb/testsuite/gdb.python/py-pp-re-notag.py @@ -18,6 +18,7 @@ from time import asctime, gmtime import gdb # silence pyflakes import gdb.printing + class TimePrinter: def __init__(self, val): self.val = val diff --git a/gdb/testsuite/gdb.python/py-prettyprint-stub.py b/gdb/testsuite/gdb.python/py-prettyprint-stub.py index 75d5f35f164..2378f559b45 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint-stub.py +++ b/gdb/testsuite/gdb.python/py-prettyprint-stub.py @@ -18,6 +18,7 @@ import gdb.printing + class SPrinter: def __init__(self, val): self.val = val