On Mon, 3 Jul 2023 at 14:35, Joshua Watt <jpewhac...@gmail.com> wrote:
>
> If test_cat and test_xxd cannot create the required file, the test will
> be skipped, but this would result in an exception being raised in the
> finally block because the file didn't exist to be cleaned up. This
> caused the test to be marked as failed instead of skipped.
>
> Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
> ---
>  test/py/tests/test_cat/conftest.py | 3 ++-
>  test/py/tests/test_xxd/conftest.py | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to