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

Tom Rini trini at konsulko.com
Mon May 30 19:56:31 CEST 2016


On Fri, May 06, 2016 at 07:33:51AM +0200, 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.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Reviewed-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160530/7a561731/attachment.sig>


More information about the U-Boot mailing list