From: Tom Rini Date: Mon, 30 May 2016 13:56:31 -0400 Subject: [U-Boot] test/py: fix NameError exception if bdi cmd is not supported In-Reply-To: <1462512831-29758-1-git-send-email-hs@denx.de> References: <1462512831-29758-1-git-send-email-hs@denx.de> Message-ID: <20160530175631.GK7419@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Stephen Warren 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: