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_grp in test_pwd, add a test with null value in name
#95376
Labels
tests
Tests in the Lib/test dir
Comments
|
Yes, I think a PR to add that test would be quite welcome. Thanks. |
ambv
pushed a commit
that referenced
this issue
Aug 6, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 6, 2022
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> (cherry picked from commit a17cd47) 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
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> (cherry picked from commit a17cd47) Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
ambv
pushed a commit
that referenced
this issue
Aug 6, 2022
ambv
pushed a commit
that referenced
this issue
Aug 6, 2022
|
This is now fixed in 3.10 - 3.12. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both getpwnam(name) and getgrnam(name) should return ValueErr if null is entered in the name value
In test_grp, the part is being tested, but in test_pwd, the part is not being tested.
Is it ok to write a PR that adds that test?
The text was updated successfully, but these errors were encountered: