aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2019-10-24 11:59:19 -0400
committerTom Rini <trini@konsulko.com>2019-10-30 17:48:47 -0400
commit3c941e048c824b94ae09fd9e1f91116f55ce0f1f (patch)
tree2402113e47049f5141891763affa38a47448d066 /.travis.yml
parent79883ef7dcc20cb329ffc307c17d77baac62c2bc (diff)
downloadu-boot-3c941e048c824b94ae09fd9e1f91116f55ce0f1f.zip
u-boot-3c941e048c824b94ae09fd9e1f91116f55ce0f1f.tar.gz
u-boot-3c941e048c824b94ae09fd9e1f91116f55ce0f1f.tar.bz2
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: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Igor Opaniuk <igor.opaniuk@gmail.com> [trini: Update for current file with a few more cases, un-pin pytest in CI] Tested-by: Simon Glass <sjg@chromium.org> [on sandbox] Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3aaed93..c50270d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,7 +49,7 @@ install:
- cat ~/.buildman
- virtualenv /tmp/venv
- . /tmp/venv/bin/activate
- - pip install pytest==2.8.7
+ - pip install pytest
- pip install python-subunit
- pip install pyelftools
- grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd