Skip to content

Commit 97a015b

Browse files
Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244)
(cherry picked from commit d888067) Co-authored-by: Gregory P. Smith <[email protected]>
1 parent 5c4d11f commit 97a015b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pathlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,7 @@ def test_expanduser(self):
24492449
p4 = P('../~' + username + '/Documents')
24502450
p5 = P('/~' + username + '/Documents')
24512451
p6 = P('')
2452-
p7 = P('~fakeuser/Documents')
2452+
p7 = P('~fake800813user/Documents')
24532453

24542454
with support.EnvironmentVarGuard() as env:
24552455
env.pop('HOME', None)

0 commit comments

Comments
 (0)