Skip to content

fix collections.abc.Callable and typing.Callable #35207

fix collections.abc.Callable and typing.Callable

fix collections.abc.Callable and typing.Callable #35207

Triggered via pull request March 5, 2026 07:28
Status Failure
Total duration 6m 10s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
16s
Check typeshed structure
mypy: Run test cases
5m 43s
mypy: Run test cases
stub_uploader tests
5m 0s
stub_uploader tests
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

22 errors
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L13
TypeVar "T_co" appears only once in generic function signature   Use "object" instead (reportInvalidTypeVarUse)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L12
Argument type is unknown   Argument corresponds to parameter "wrapped" in function "wraps" (reportUnknownArgumentType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Expected class but received "_Alias" (reportGeneralTypeIssues)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Expected class but received "_Alias" (reportGeneralTypeIssues)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Type of parameter "func" is unknown (reportUnknownParameterType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Return type is unknown (reportUnknownParameterType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_dataclasses.py#L101
"assert_type" mismatch: expected "type[_D]" but received "Unknown" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_dataclasses.py#L100
Type of "custom_dc_2" is unknown (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_collections_abc.py#L12
"assert_type" mismatch: expected "Callable[(), None]" but received "() -> None" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_collections_abc.py#L8
Type "type[Callable[_P@Callable, _R_co@Callable]]" is not assignable to declared type "type[Callable[(), None]]"   "Callable[_P@Callable, _R_co@Callable]" is not a concrete class type and cannot be assigned to type "type[Callable[(), None]]" (reportAssignmentType)
pyright: Run test cases (Linux, 3.12)
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 (Windows, 3.12)
Exit code 1
mypy: Run test cases
Process completed with exit code 1.