Skip to content
Commit 452e8c90 authored by Simon Glass's avatar Simon Glass
Browse files

test/py: Raise a ValueError if a command fails



At present an Exception is raised if a command fails. This is a very broad
class and makes it difficult for callers to catch the error without also
catching other things, like programming bugs.

Change it to ValueError to make this easier.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 689d0a1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment