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

[3.11] gh-110388: Add tests for tty (GH-110394) #110622

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 10, 2023

(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

(cherry picked from commit 7f702b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Oct 10, 2023
@ambv
Copy link
Contributor

ambv commented Oct 10, 2023

This cannot be tested in 3.11 because cfmakeraw and cfmakecbreak are new for 3.12, while the other two functions don't return anything in 3.11. Closing this.

@ambv ambv closed this Oct 10, 2023
@miss-islington miss-islington deleted the backport-7f702b2-3.11 branch October 10, 2023 12:14
@serhiy-storchaka
Copy link
Member

Other two functions have a side effect which can be tested. Even if it could not be tested, we still can test that they accept some arguments (different types of arguments, names of keyword arguments, the second argument is optional).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants