Add reason for failed match to RaisesGroup #6775
Annotations
7 errors and 1 warning
Run tests:
src/trio/_core/_run.py#L134
src/trio/_core/_run.py:(134:13 - 134:67): Returning Any from function declared to return "str" [no-any-return]
|
Run tests:
src/trio/testing/_raises_group.py#L233
src/trio/testing/_raises_group.py:(233:66 - 233:75): Argument 1 to "repr_callable" has incompatible type "Callable[[BaseExcT_1], bool]"; expected "Callable[[BaseException], bool]" [arg-type]
|
Run tests:
src/trio/testing/_raises_group.py#L358
src/trio/testing/_raises_group.py:(358:54 - 358:63): Argument 1 to "repr_callable" has incompatible type "Callable[[MatchE], bool]"; expected "Callable[[BaseException], bool]" [arg-type]
|
Run tests:
src/trio/testing/_raises_group.py#L631
src/trio/testing/_raises_group.py:(631:48 - 631:57): Argument 1 to "repr_callable" has incompatible type "Callable[[BaseExceptionGroup[BaseExcT_co]], bool]"; expected "Callable[[BaseException], bool]" [arg-type]
|
Run tests:
src/trio/_tests/test_testing_raisesgroup.py#L393
src/trio/_tests/test_testing_raisesgroup.py:(393:33 - 393:38): Argument 1 to "repr_callable" has incompatible type "Callable[[ExceptionGroup[ValueError]], bool]"; expected "Callable[[BaseException], bool]" [arg-type]
|
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
|
Loading