Skip to content

Fix pyserial read_all return type #36239

Fix pyserial read_all return type

Fix pyserial read_all return type #36239

Triggered via pull request May 13, 2026 12:09
Status Cancelled
Total duration 7m 58s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
11s
Check typeshed structure
mypy: Run test cases
6m 6s
mypy: Run test cases
stub_uploader tests
5m 17s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

25 errors
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
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 (Windows, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.13)
4 errors
pyright: Run test cases (Linux, 3.13): stubs/pyserial/@tests/test_cases/check_serialutil.py#L6
Cannot access attribute "read_all" for class "Unbound" (reportAttributeAccessIssue)
pyright: Run test cases (Linux, 3.13): stubs/pyserial/@tests/test_cases/check_serialutil.py#L6
"serial_base" is unbound (reportUnboundVariable)
pyright: Run test cases (Linux, 3.13): stubs/pyserial/@tests/test_cases/check_serialutil.py#L6
"assert_type" mismatch: expected "bytes" but received "Unknown" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stubs/pyserial/@tests/test_cases/check_serialutil.py#L6
Type of "read_all" is unknown (reportUnknownMemberType)
mypy: Check stubs (linux, 3.14)
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
mypy: Check stubs (linux, 3.14)
The operation was canceled.
pyright: Run test cases (Windows, 3.14)
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
pyright: Run test cases (Windows, 3.14)
The operation was canceled.
mypy: Check stubs (win32, 3.14)
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
mypy: Check stubs (win32, 3.14)
The operation was canceled.
pyright: Run test cases (Darwin, 3.13)
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
pyright: Run test cases (Darwin, 3.13)
The operation was canceled.
Test
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
mypy: Check stubs (win32, 3.13)
Canceling since a higher priority waiting request for Test-fix-pyserial-read-all-return exists
mypy: Check stubs (win32, 3.13)
The operation was canceled.