| commit | f2f4555d8287ad217a1dba7bbd93103ad4daf3a8 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@redhat.com> | Wed Dec 05 16:49:35 2018 +0100 |
| committer | GitHub <noreply@github.com> | Wed Dec 05 16:49:35 2018 +0100 |
| tree | d3c3dfaee0aa56df5cdf4d9d60db7b65c3e33db4 | |
| parent | 398bd27967690f2c1a8cbf8d47a5613edd9cfb2a [diff] |
bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) * posixpath.expanduser() now returns the input path unchanged if the HOME environment variable is not set and pwd.getpwuid() raises KeyError (the current user identifier doesn't exist in the password database). * Add test_no_home_directory() to test_site.