cpython: 63dac5212552 (original) (raw)
Mercurial > cpython
changeset 94105:63dac5212552
Issue #19776: Fix test_pathlib.test_expanduser() Skip users with an empty home directory. [#19776]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Sat, 10 Jan 2015 09:00:20 +0100 |
parents | 154ae3af0317 |
children | 5b2212e0c350 |
files | Lib/test/test_pathlib.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_pathlib.py 2 |
line wrap: on
line diff
--- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -1983,7 +1983,7 @@ class PosixPathTest(_BasePathTest, unitt for pwdent in pwd.getpwall(): othername = pwdent.pw_name otherhome = pwdent.pw_dir.rstrip('/')
if othername != username:[](#l1.7)
if othername != username and otherhome:[](#l1.8) break[](#l1.9)