2 Commits

Author SHA256 Message Date
9d477e6635 Accepting request 1287139 from home:mcalabkova:branches:devel:languages:python:pytest
- update to 8.4.1
  * #13461: Corrected _pytest.terminal.TerminalReporter.isatty to
    support being called as a method. Before it was just a boolean
    which could break correct code when using -o log_cli=true).
  * #13477: Reintroduced pytest.PytestReturnNotNoneWarning which
    was removed by accident in pytest 8.4.
  * #13497: Fixed compatibility with Twisted 25+.

OBS-URL: https://build.opensuse.org/request/show/1287139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=155
2025-06-23 05:48:42 +00:00
a511119358 - 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