]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 May 2018 14:22:05 +0000 (07:22 -0700)
committerGitHub <noreply@github.com>
Mon, 14 May 2018 14:22:05 +0000 (07:22 -0700)
commit2e01f7d5fe51b492e39d97bf0da2a83f2efb977d
treeeca5ce85e28c85cf4406b724a4a31304dc13ee13
parentf1ee4a2e52d98698ec2c0a0e8acb6cd3bbc9bf1f
bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)

This happens in the NixOS build sandbox, for example, where the only
other user is nobody with home directory /.
(cherry picked from commit 5c0d462689e1a69537eaeba6ab94e3ff3524fc31)

Co-authored-by: Anders Kaseorg <andersk@mit.edu>
Lib/test/test_pathlib.py