[U-Boot] [PATCH] test/py: fix NameError exception if bdi cmd is not supported

Stephen Warren swarren at wwwdotorg.org
Fri May 6 17:25:42 CEST 2016


On 05/05/2016 11:33 PM, Heiko Schocher wrote:
> test/py raises an error, if a board has not enabled bdi command
>
>>            pytest.skip('bdinfo command not supported')
> E           NameError: global name 'pytest' is not defined
>
> import pytest in test/py/u_boot_utils.py fixes this.

Reviewed-by: Stephen Warren <swarren at nvidia.com>

Nit: The import statements were sorted before this patch.


More information about the U-Boot mailing list