Files
python-pytest/_multibuild

4 lines
53 B
Plaintext
Raw Permalink Normal View History

- update to 8.4.0: * #11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed. * #12346: Tests will now fail, instead of raising a warning, if they return any value other than None. * #12874: We dropped support for Python 3.8 following its end of life (2024-10-07). * #12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning. See :ref:`the docs <yield tests deprecated>` for more information. * #10839: Requesting an asynchronous fixture without a pytest_fixture_setup hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or autouse=True. For guidance on how to work around this warning see :ref:`sync-test-async-fixture`. * #11538: Added :class:`pytest.RaisesGroup` as an equivalent to :func:`pytest.raises` for expecting :exc:`ExceptionGroup`. Also adds :class:`pytest.RaisesExc` which is now the logic behind :func:`pytest.raises` and used as parameter to :class:`pytest.RaisesGroup`. RaisesGroup includes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulating :ref:`except* <except_star>`. See :ref:`assert-matching- exception-groups` and docstrings for more information. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=153
2025-06-10 11:19:50 +00:00
<multibuild>
<package>test</package>
</multibuild>