gh-121200: Fix test_expanduser_pwd2() of test_posixpath (GH-121228) Call getpwnam() to get pw_dir, since it can be different than getpwall() pw_dir. (cherry picked from commit 02cb5fdee3) Co-authored-by: Victor Stinner <vstinner@python.org>
02cb5fdee3
where
pickle.Pickler
bytes
bytearray
symtable.Class.get_methods
get_type_hints