BaseExceptionGroup initialized with non-base exceptions now return ExceptionGroup #29406
tests.yml
on: pull_request
Check typeshed structure
10s
Run pytype against the stubs
2m 0s
Run mypy on the test cases
3m 46s
Run the stub_uploader tests
4m 9s
Matrix: Run mypy against the stubs
Matrix: Test typeshed with pyright
Annotations
10 errors
Test typeshed with pyright (Linux, 3.12):
stdlib/builtins.pyi#L2085
Mismatch between signature of __new__ and __init__ in class "BaseExceptionGroup[_BaseExceptionT_co@BaseExceptionGroup]"
Signature of __init__ is "(*args: object) -> None"
Signature of __new__ is "(message: str, exceptions: Sequence[_BaseExceptionT_co@BaseExceptionGroup], /) -> BaseExceptionGroup[_BaseExceptionT_co@BaseExceptionGroup]" (reportInconsistentConstructor)
|
|
Test typeshed with pyright (Linux, 3.11)
Exit code 1
|
Test typeshed with pyright (Darwin, 3.12)
Exit code 1
|
Test typeshed with pyright (Windows, 3.11)
Exit code 1
|
Test typeshed with pyright (Darwin, 3.11)
Exit code 1
|
Test typeshed with pyright (Windows, 3.12)
Exit code 1
|
Test typeshed with pyright (Linux, 3.13)
Exit code 1
|
Test typeshed with pyright (Darwin, 3.13)
Exit code 1
|
Test typeshed with pyright (Windows, 3.13)
Exit code 1
|