[pushed] gdb/testsuite: format some Python files
Simon Marchi
simon.marchi@polymtl.ca
Wed Sep 25 14:17:59 GMT 2024
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 a0c48f9548a9..c07192085094 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 3bbf58870842..00bc5c7670f3 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 75d5f35f1642..2378f559b450 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
base-commit: fc14343205d3a68db1fc139e4af9796be208fab4
--
2.46.2
More information about the Gdb-patches
mailing list