aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-xmethods.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-03-20 09:03:04 -0600
committerTom Tromey <tromey@adacore.com>2024-04-02 11:21:39 -0600
commitc2cf30e7608093773286081ebfc4067246ecba7e (patch)
tree7bedf2c98350c11ba4383b9bce32f6f1ccb71ae3 /gdb/testsuite/gdb.python/py-xmethods.py
parent68982f618b28aebf47343922fb79e59ace0246eb (diff)
downloadbinutils-c2cf30e7608093773286081ebfc4067246ecba7e.zip
binutils-c2cf30e7608093773286081ebfc4067246ecba7e.tar.gz
binutils-c2cf30e7608093773286081ebfc4067246ecba7e.tar.bz2
Run isort
This patch is the result of running 'isort .' in the gdb directory. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-xmethods.py')
-rw-r--r--gdb/testsuite/gdb.python/py-xmethods.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/py-xmethods.py b/gdb/testsuite/gdb.python/py-xmethods.py
index 54bd10b..a2b8d57 100644
--- a/gdb/testsuite/gdb.python/py-xmethods.py
+++ b/gdb/testsuite/gdb.python/py-xmethods.py
@@ -16,12 +16,10 @@
# This file is part of the GDB testsuite. It test the xmethods support
# in the Python extension language.
-import gdb
import re
-from gdb.xmethod import XMethod
-from gdb.xmethod import XMethodMatcher, XMethodWorker
-from gdb.xmethod import SimpleXMethodMatcher
+import gdb
+from gdb.xmethod import SimpleXMethodMatcher, XMethod, XMethodMatcher, XMethodWorker
def A_plus_A(obj, opr):