diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-09-25 10:16:59 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-09-25 10:17:31 -0400 |
commit | f82fd76c96ce848d77f86b8f1beefcff7656159c (patch) | |
tree | e87078766d7a7418f7cd8d410ed4d9d8ab76561f | |
parent | fc14343205d3a68db1fc139e4af9796be208fab4 (diff) | |
download | gdb-f82fd76c96ce848d77f86b8f1beefcff7656159c.zip gdb-f82fd76c96ce848d77f86b8f1beefcff7656159c.tar.gz gdb-f82fd76c96ce848d77f86b8f1beefcff7656159c.tar.bz2 |
gdb/testsuite: format some Python files
Format with black.
Change-Id: I28e79e9da07ea29391ad1942047633960fa72ed2
-rw-r--r-- | gdb/testsuite/gdb.python/py-pp-cast.py | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-pp-re-notag.py | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint-stub.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-pp-cast.py b/gdb/testsuite/gdb.python/py-pp-cast.py index a0c48f9..c071920 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 3bbf588..00bc5c7 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 75d5f35..2378f55 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 |