Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tty module is not tested #110388

Closed
serhiy-storchaka opened this issue Oct 5, 2023 · 0 comments
Closed

The tty module is not tested #110388

serhiy-storchaka opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
3.11 only security fixes 3.12 bugs and security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Oct 5, 2023

It only contains 4 functions (2 before 3.12). tty.setcbreak() is only used in pydoc (and this case seems is not tested), tty.setraw() is only used in pty and tests mock it. So, the tty module is not tested, neither directly, nor indirectly.

Linked PRs

@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir 3.11 only security fixes 3.12 bugs and security fixes 3.13 bugs and security fixes labels Oct 5, 2023
@serhiy-storchaka serhiy-storchaka self-assigned this Oct 5, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Oct 5, 2023
ambv pushed a commit that referenced this issue Oct 10, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 10, 2023
(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 10, 2023
(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv pushed a commit that referenced this issue Oct 10, 2023
cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Oct 10, 2023
(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Oct 10, 2023
(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv pushed a commit that referenced this issue Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 bugs and security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant