We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cd22cf commit 5c0d462Copy full SHA for 5c0d462
Lib/test/test_pathlib.py
@@ -2142,6 +2142,9 @@ def test_expanduser(self):
2142
otherhome = pwdent.pw_dir.rstrip('/')
2143
if othername != username and otherhome:
2144
break
2145
+ else:
2146
+ othername = username
2147
+ otherhome = userhome
2148
2149
p1 = P('~/Documents')
2150
p2 = P('~' + username + '/Documents')
0 commit comments