]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-80198: Improve test_pwd and test_grp (GH-150380)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 25 May 2026 13:17:38 +0000 (16:17 +0300)
committerGitHub <noreply@github.com>
Mon, 25 May 2026 13:17:38 +0000 (16:17 +0300)
commit46e8f7a9e794bfb0fdc5ee82348623eb2b91a0b5
tree91e81a41285e193c948990bbd2e119e7f1785b98
parent9989a54a5333a4ce8d7893d3468d8187e6e3b13b
gh-80198: Improve test_pwd and test_grp (GH-150380)

Fix tests for non-existing names and ids when getpwall()/getgrall()
don't return all users/groups.

Add tests for out-of-range uids, integer float ids, bytes names,
null-terminated names, names with surrogates, empty names, excessive
arguments.
Lib/test/test_grp.py
Lib/test/test_pwd.py