Closed
Description
https://github.com/python-trio/trio/actions/runs/6043678194/job/16401102375#step:5:840
++ mypy trio --platform linux
trio/_core/_multierror.py:264: error: Signature of "derive" incompatible with supertype "BaseExceptionGroup" [override]
trio/_core/_multierror.py:264: note: Superclass:
trio/_core/_multierror.py:264: note: @overload
trio/_core/_multierror.py:264: note: def [_ExceptionT <: Exception] derive(self, Sequence[_ExceptionT], /) -> ExceptionGroup[_ExceptionT]
trio/_core/_multierror.py:264: note: @overload
trio/_core/_multierror.py:264: note: def [_BaseExceptionT <: BaseException] derive(self, Sequence[_BaseExceptionT], /) -> BaseExceptionGroup[_BaseExceptionT]
trio/_core/_multierror.py:264: note: Subclass:
trio/_core/_multierror.py:264: note: @overload
trio/_core/_multierror.py:264: note: def derive(self, Sequence[Exception], /) -> NonBaseMultiError
trio/_core/_multierror.py:264: note: @overload
trio/_core/_multierror.py:264: note: def derive(self, Sequence[BaseException], /) -> MultiError
trio/_core/_run.py:204: error: Unused "type: ignore" comment [unused-ignore]
Found 2 errors in 2 files (checked 129 source files)
++ EXIT_STATUS=1
bumped in #2782
Metadata
Metadata
Assignees
Labels
No labels