Skip to content
Commit 336f5f0c authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

test/py: Fix pytest4 deprecation warnings

Fix the following spit from pytest:

u-boot/test/py/conftest.py:438: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
  Please use node.get_closest_marker(name) or node.iter_markers(name).
  Docs: https://docs.pytest.org/en/latest/mark.html#updating-code


    for board in mark.args:

In both cases, the later suggestion is applicable.

Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Cc: Igor Opaniuk <igor.opaniuk@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
[trini: Update for current file with a few more cases, un-pin pytest in CI]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent ffd8ae68
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