From f82fd76c96ce848d77f86b8f1beefcff7656159c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 25 Sep 2024 10:16:59 -0400 Subject: [PATCH] gdb/testsuite: format some Python files Format with black. Change-Id: I28e79e9da07ea29391ad1942047633960fa72ed2 --- gdb/testsuite/gdb.python/py-pp-cast.py | 1 + gdb/testsuite/gdb.python/py-pp-re-notag.py | 1 + gdb/testsuite/gdb.python/py-prettyprint-stub.py | 1 + 3 files changed, 3 insertions(+) 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 -- 2.39.5