]> granicus.if.org Git - python/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:45:34 +0000 (07:45 -0700)
committerGitHub <noreply@github.com>
Mon, 14 May 2018 14:45:34 +0000 (07:45 -0700)
commit48fdbbf6bb0cd0ea9d284ba650a80bffa6310c6b
treeb50a428e990408c0c57800ab491f3bc9d4aaee26
parent0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658
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