Closed TeamSpen210 closed 8 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
c908bc7
) 100.00% compared to head (34d5ec8
) 99.35%.
Files | Patch % | Lines |
---|---|---|
src/trio_util/_exceptions.py | 91.66% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I didn't consider this only really being for pre-ExceptionGroup
code. Might just close this then, if they should be effectively deprecated?
Trio will be removing MultiError in favour of using ExceptionGroup (via backport on <3.11). This renames
multi_error_defer_to
→except_group_defer_to
and changes the logic to detectBaseExceptionGroup
instead ofMultiError
. SinceMultiError
is a subclass, this should still work with existing code. The old name has an alias that warns when used.While I was editing the module, I also fully type hinted it.