diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 183c157afdcd038..548951a67a6f23c 100644 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -2449,7 +2449,7 @@ def test_expanduser(self): p4 = P('../~' + username + '/Documents') p5 = P('/~' + username + '/Documents') p6 = P('') - p7 = P('~fakeuser/Documents') + p7 = P('~fake800813user/Documents') with support.EnvironmentVarGuard() as env: env.pop('HOME', None)