From: Simon Glass Date: Sat, 4 Nov 2023 16:25:23 +0000 (-0600) Subject: patman: Avoid using func_test at top level X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=dfdf621ff285da4e8e5995e05d570ebe7eb2e318;p=u-boot.git patman: Avoid using func_test at top level Import this only when it is needed, since it is not present when installed via 'pip install'. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/u-boot/-/issues/26 --- diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py index 3ca858cd31..d53f686a2d 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