Skip to content
Snippets Groups Projects
Commit 7e6621a1 authored by Heiko Schocher's avatar Heiko Schocher Committed by Tom Rini
Browse files

test/py: fix NameError exception if bdi cmd is not supported


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: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
parent dafd6488
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment