Skip to content

[3.13] gh-80198: Improve test_pwd and test_grp (GH-150380) (GH-150398)#150423

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-4bdff2c-3.13
May 25, 2026
Merged

[3.13] gh-80198: Improve test_pwd and test_grp (GH-150380) (GH-150398)#150423
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-4bdff2c-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 25, 2026

Fix tests for non-existing names and ids when getpwall()/getgrall()
don't return all users/groups.
(cherry picked from commit 4bdff2c)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Add tests for out-of-range uids, integer float ids, bytes names,
null-terminated names, names with surrogates, empty names, excessive
arguments.
(cherry picked from commit 46e8f7a)

pythonGH-150398)

Fix tests for non-existing names and ids when getpwall()/getgrall()
don't return all users/groups.
(cherry picked from commit 4bdff2c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Add tests for out-of-range uids, integer float ids, bytes names,
null-terminated names, names with surrogates, empty names, excessive
arguments.
(cherry picked from commit 46e8f7a)
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label May 25, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) May 25, 2026 18:45
@serhiy-storchaka serhiy-storchaka merged commit 2080523 into python:3.13 May 25, 2026
43 checks passed
@miss-islington miss-islington deleted the backport-4bdff2c-3.13 branch May 25, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants