Skip to content

fix list.__add__ to use the expected type #33260

fix list.__add__ to use the expected type

fix list.__add__ to use the expected type #33260

Triggered via pull request September 21, 2025 10:30
Status Cancelled
Total duration 3m 41s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
12s
Check typeshed structure
mypy: Run test cases
3m 37s
mypy: Run test cases
stub_uploader tests
3m 37s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

52 errors
pyright: Run test cases (Darwin, 3.9)
Exit code 1
pyright: Run test cases (Windows, 3.10)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.9)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.13)
8 errors
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L23
Operator "+" not supported for types "list[int]" and "list[str]" (reportOperatorIssue)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L23
Type of "l4" is unknown (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L21
"assert_type" mismatch: expected "int" but received "Unknown" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L21
Type of "asd" is unknown (reportUnknownMemberType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L20
Type of "item" is unknown (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L19
"assert_type" mismatch: expected "List[Foo | Bar]" but received "Unknown" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L18
Operator "+" not supported for types "list[Foo]" and "list[Bar]" (reportOperatorIssue)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_list.py#L18
Type of "combined" is unknown (reportUnknownVariableType)
pyright: Run test cases (Windows, 3.9)
Exit code 1
pyright: Run test cases (Linux, 3.10)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.10)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Canceling since a higher priority waiting request for Test-list.__add__ exists
pyright: Run test cases (Darwin, 3.14)
The operation was canceled.
pyright: Run test cases (Darwin, 3.14)
Canceling since a higher priority waiting request for Test-list.__add__ exists
pyright: Run test cases (Windows, 3.11)
The operation was canceled.
pyright: Run test cases (Windows, 3.11)
Canceling since a higher priority waiting request for Test-list.__add__ exists
stub_uploader tests
The operation was canceled.
stub_uploader tests
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (linux, 3.13)
The operation was canceled.
mypy: Check stubs (linux, 3.13)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (win32, 3.13)
The operation was canceled.
mypy: Check stubs (win32, 3.13)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Run test cases
The operation was canceled.
mypy: Check stubs (linux, 3.11)
The operation was canceled.
mypy: Run test cases
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (win32, 3.10)
The operation was canceled.
mypy: Check stubs (linux, 3.11)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (win32, 3.10)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (linux, 3.12)
The operation was canceled.
mypy: Check stubs (linux, 3.12)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (darwin, 3.13)
The operation was canceled.
mypy: Check stubs (darwin, 3.13)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (darwin, 3.12)
The operation was canceled.
mypy: Check stubs (darwin, 3.12)
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (linux, 3.10)
The operation was canceled.
mypy: Check stubs (linux, 3.10)
Canceling since a higher priority waiting request for Test-list.__add__ exists
Test
Canceling since a higher priority waiting request for Test-list.__add__ exists
mypy: Check stubs (win32, 3.14)
The operation was canceled.
mypy: Check stubs (win32, 3.14)
Canceling since a higher priority waiting request for Test-list.__add__ exists