]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: address "unused not at top of file" warnings in Python files
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 29 Oct 2025 17:49:22 +0000 (13:49 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 30 Oct 2025 16:25:53 +0000 (12:25 -0400)
commitdacf41a62952ae56df91744a932ff793687f4b5f
tree647309093ffdbbc9d116abd5c4ab6deced5b5151
parentb4f767797a7c6613516e0da3b1e3d0398ba7d176
gdb/testsuite: address "unused not at top of file" warnings in Python files

Address flake8 warnings like this one:

    gdb/testsuite/gdb.python/py-typeprint.py:60:1: E402 module level import not at top of file

Change-Id: I6ab7880ec5b55b6a5c85cb01d0f85172d44b4ee1
Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.python/py-color-leak.py
gdb/testsuite/gdb.python/py-inferior-leak.py
gdb/testsuite/gdb.python/py-read-memory-leak.py
gdb/testsuite/gdb.python/py-typeprint.py