Add a sanity check for a missing derive
for exception groups
#6693
Annotations
3 errors, 1 warning, and 6 notices
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): Signature of "derive" incompatible with supertype "BaseExceptionGroup" [override]
|
Run tests
Mypy found type errors.
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): Superclass:
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): @overload
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): def [_ExceptionT: Exception] derive(self, Sequence[_ExceptionT], /) -> ExceptionGroup[_ExceptionT]
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): def [_BaseExceptionT: BaseException] derive(self, Sequence[_BaseExceptionT], /) -> BaseExceptionGroup[_BaseExceptionT]
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): Subclass:
|
Run tests:
src/trio/_core/_tests/test_run.py#L2881
src/trio/_core/_tests/test_run.py:(2881:9 - 2882:48): def derive(self, excs: Sequence[Exception]) -> HasDerive
|
Loading