pypi trio 0.24.0
v0.24.0

latest releases: 0.27.0, 0.26.2, 0.26.1...
10 months ago

Full Changelog: v0.23.2...v0.24.0

Features

  • New helper classes: testing.RaisesGroup and 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 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. See pytest-dev/pytest#11538 (#2785)

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. (#2891)

Don't miss a new trio release

NewReleases is sending notifications on new releases.