Path to this page:
Subject: CVS commit: pkgsrc/devel/py-trio
From: Adam Ciarcinski
Date: 2024-01-12 19:47:30
Message id: 20240112184731.0FAAAFA42@cvs.NetBSD.org
Log Message:
py-trio: updated to 0.24.0
Trio 0.24.0 (2024-01-10)
Features
- New helper classes: :class:`~.testing.RaisesGroup` and :class:`~.testing.Matcher`.
In preparation for changing the default of ``strict_exception_groups`` to \
`True`, we're introducing a set of helper classes that can be used in place of \
`pytest.raises \
<https://docs.pytest.org/en/stable/reference/reference.html#pytest.raises>`_ \
in tests, to check for an expected `ExceptionGroup`.
These are provisional, and only planned to be supplied until there's a good \
solution in ``pytest``.
Deprecations and removals
- ``MultiError`` has been fully removed, and all relevant trio functions now \
raise ExceptionGroups instead. This should not affect end users that have \
transitioned to using ``except*`` or catching ExceptionGroup/BaseExceptionGroup.
Files: