[pushed] gdb/testsuite: format some Python files

Message ID 20240925141800.620499-1-simon.marchi@polymtl.ca
State New
Headers
Series [pushed] gdb/testsuite: format some Python files |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Simon Marchi Sept. 25, 2024, 2:17 p.m. UTC
  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(+)


base-commit: fc14343205d3a68db1fc139e4af9796be208fab4
  

Patch

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