From: Tom Rini Date: Fri, 1 Nov 2019 09:32:00 -0400 Subject: [U-Boot] [PATCHv3 04/13] test/py: Fix pytest4 deprecation warnings In-Reply-To: <20191024155928.28616-5-trini@konsulko.com> References: <20191023032010.27725-1-trini@konsulko.com> <20191024155928.28616-1-trini@konsulko.com> <20191024155928.28616-5-trini@konsulko.com> Message-ID: <20191101133200.GT11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 24, 2019 at 11:59:19AM -0400, Tom Rini wrote: > From: Marek Vasut > > 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 > Reviewed-by: Simon Glass > Signed-off-by: Marek Vasut > Cc: Igor Opaniuk > [trini: Update for current file with a few more cases, un-pin pytest in CI] > Tested-by: Simon Glass [on sandbox] > Tested-by: Stephen Warren > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: