mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 20:23:04 +01:00
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23 Excerpt from upstream release notes: Deprecations * #10012: Update pytest.PytestUnhandledCoroutineWarning to a deprecation; it will raise an error in pytest 8. * #10396: pytest no longer depends on the py library. pytest provides a vendored copy of py.error and py.path modules but will use the py library if it is installed. If you need other py.* modules, continue to install the deprecated py library separately, otherwise it can usually be removed as a dependency. * #4562: Deprecate configuring hook specs/impls using attributes/marks. Instead use pytest.hookimpl() and pytest.hookspec(). For more details, see the docs. * #9886: The functionality for running tests written for nose has been officially deprecated. This includes: Plain setup and teardown functions and methods: this might catch users by surprise, as setup() and teardown() are not pytest idioms, but part of the nose support. Setup/teardown using the @with_setup decorator. For more details, consult the deprecation docs. (From OE-Core rev: 8ae3b896b0e1a77bcbd5b98b4b983e4f34746a94) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>