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 <sjg@chromium.org>
Fixes: https://source.denx.de/u-boot/u-boot/-/issues/26
This commit is contained in:
Simon Glass 2023-11-04 10:25:23 -06:00
parent 21229c921b
commit dfdf621ff2

View file

@ -24,7 +24,6 @@ sys.path.append(os.path.join(our_path, '..'))
# Our modules # Our modules
from patman import cmdline from patman import cmdline
from patman import control from patman import control
from patman import func_test
from u_boot_pylib import terminal from u_boot_pylib import terminal
from u_boot_pylib import test_util from u_boot_pylib import test_util
from u_boot_pylib import tools from u_boot_pylib import tools