Skip to content

fix UnionType.__or__ and add UnionType.__getitem__ #33309

fix UnionType.__or__ and add UnionType.__getitem__

fix UnionType.__or__ and add UnionType.__getitem__ #33309

Triggered via pull request September 23, 2025 13:38
Status Failure
Total duration 5m 2s
Artifacts

tests.yml

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

Annotations

14 errors
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.11)
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 (Linux, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.13)
1 error
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_types.py#L70
"assert_type" mismatch: expected "object" but received "type[int] | type[list[int]]" (reportAssertTypeFailure)
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
mypy: Run test cases
Process completed with exit code 1.