v0.24.0
Full Changelog: v0.23.2...v0.24.0
Features
-
New helper classes:
testing.RaisesGroupandtesting.Matcher.In preparation for changing the default of
strict_exception_groupstoTrue, we're introducing a set of helper classes that can be used in place ofpytest.raisesin tests, to check for an expectedExceptionGroup.
These are provisional, and only planned to be supplied until there's a good solution inpytest. See pytest-dev/pytest#11538 (#2785)
Deprecations and removals
MultiErrorhas been fully removed, and all relevant trio functions now raise ExceptionGroups instead. This should not affect end users that have transitioned to usingexcept*or catching ExceptionGroup/BaseExceptionGroup. (#2891)