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

Similar to test_pwd in test_grp, more tested for TypeError #95395

Closed
Yaminyam opened this issue Jul 28, 2022 · 3 comments
Closed

Similar to test_pwd in test_grp, more tested for TypeError #95395

Yaminyam opened this issue Jul 28, 2022 · 3 comments
Labels
tests Tests in the Lib/test dir

Comments

@Yaminyam
Copy link
Contributor

Yaminyam commented Jul 28, 2022

As grp and pwd modules behave similarly, I think that what is being tested in pwd should also be tested in grp.

add a test in which a number is entered as an argument to getgrnam() or a non-integer number is entered as an argument to getgrgid().

@Yaminyam Yaminyam added the type-feature A feature request or enhancement label Jul 28, 2022
@kumaraditya303 kumaraditya303 added tests Tests in the Lib/test dir and removed type-feature A feature request or enhancement labels Jul 28, 2022
@Yaminyam
Copy link
Contributor Author

Yaminyam commented Jul 28, 2022

Should I merge this issue into #95376?

@mdboom
Copy link
Contributor

mdboom commented Jul 28, 2022

I think it's ok if this remains a separate issue.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 6, 2022
(cherry picked from commit 4703c15)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 6, 2022
(cherry picked from commit 4703c15)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
ambv pushed a commit that referenced this issue Aug 6, 2022
(cherry picked from commit 4703c15)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
ambv pushed a commit that referenced this issue Aug 6, 2022
(cherry picked from commit 4703c15)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
@Yaminyam
Copy link
Contributor Author

Yaminyam commented Aug 9, 2022

This is now fixed in 3.10 - 3.12.

@Yaminyam Yaminyam closed this as completed Aug 9, 2022
iritkatriel pushed a commit to iritkatriel/cpython that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

3 participants