changeset: 94105:63dac5212552 user: Victor Stinner date: Sat Jan 10 09:00:20 2015 +0100 files: Lib/test/test_pathlib.py description: Issue #19776: Fix test_pathlib.test_expanduser() Skip users with an empty home directory. diff -r 154ae3af0317 -r 63dac5212552 Lib/test/test_pathlib.py --- a/Lib/test/test_pathlib.py Fri Jan 09 16:40:38 2015 -0600 +++ b/Lib/test/test_pathlib.py Sat Jan 10 09:00:20 2015 +0100 @@ -1983,7 +1983,7 @@ for pwdent in pwd.getpwall(): othername = pwdent.pw_name otherhome = pwdent.pw_dir.rstrip('/') - if othername != username: + if othername != username and otherhome: break p1 = P('~/Documents')