diff options
author | Simon Glass <sjg@chromium.org> | 2025-05-10 13:04:59 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:42 +0100 |
commit | 1be26d78cf2b7743d504c83ecac5a7a3d7ce8222 (patch) | |
tree | b1127f69d867cad16c4e370f2d2ce2b4fd36ec4b /tools/patman/control.py | |
parent | d5675b84c4365050a58e8f8e2783f25c5ea4f572 (diff) |
patman: Move common test code into a new module
The func_test file is quite large. In order to allow new tests to be
added to a separate file, move the common test code into a separate
class, to be inherited by other classes.
Drop unnecessary imports in func_test
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/control.py')
-rw-r--r-- | tools/patman/control.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/patman/control.py b/tools/patman/control.py index 902b5092e9c..7bf0e7ff61a 100644 --- a/tools/patman/control.py +++ b/tools/patman/control.py @@ -8,9 +8,7 @@ This module provides various functions called by the main program to implement the features of patman. """ -import os import re -import sys import traceback try: @@ -22,7 +20,6 @@ except ImportError: from u_boot_pylib import gitutil from u_boot_pylib import terminal from u_boot_pylib import tools -from patman import checkpatch from patman import patchstream from patman import patchwork from patman import send |