[PATCH 4/5] patman: Avoid using func_test at top level

Simon Glass sjg at chromium.org
Sat Nov 4 17:25:23 CET 2023


Import this only when it is needed, since it is not present when
installed via 'pip install'.

Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes: https://source.denx.de/u-boot/u-boot/-/issues/26
---

 tools/patman/__main__.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py
index 3ca858cd3157..d53f686a2d45 100755
--- a/tools/patman/__main__.py
+++ b/tools/patman/__main__.py
@@ -24,7 +24,6 @@ sys.path.append(os.path.join(our_path, '..'))
 # Our modules
 from patman import cmdline
 from patman import control
-from patman import func_test
 from u_boot_pylib import terminal
 from u_boot_pylib import test_util
 from u_boot_pylib import tools
-- 
2.42.0.869.gea05f2083d-goog



More information about the U-Boot mailing list