
From: Simon Glass <sjg@chromium.org> Now that this base-class function is called, it can produce an error on test failure, since it passes an empty list for the arguments. Rename the reset() function to prepare_for_spawn() and use that instead. See also: ca30385c61e ("Correct implementation of Spawn() in ConsoleBase") Signed-off-by: Simon Glass <sjg@chromium.org> --- test/py/console_sandbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/console_sandbox.py b/test/py/console_sandbox.py index 53b55b1256e..06328cdf3d4 100644 --- a/test/py/console_sandbox.py +++ b/test/py/console_sandbox.py @@ -35,7 +35,7 @@ class ConsoleSandbox(ConsoleBase): Returns: A spawn.Spawn object that is attached to U-Boot. """ - super().get_spawn() + self.prepare_for_spawn() bcfg = self.config.buildconfig config_spl = bcfg.get('config_spl', 'n') == 'y' config_vpl = bcfg.get('config_vpl', 'n') == 'y' -- 2.43.0