From 1c77aa9fc3c105053167d519607565068a2688b5 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 24 Dec 2021 00:07:24 -0800 Subject: Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244) (cherry picked from commit d8880677a79ba4e70bbe7583eecf573bfceb7e98) Co-authored-by: Gregory P. Smith --- Lib/test/test_pathlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 5f6d9f4..2268d36 100644 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -2564,7 +2564,7 @@ class PosixPathTest(_BasePathTest, unittest.TestCase): p4 = P('../~' + username + '/Documents') p5 = P('/~' + username + '/Documents') p6 = P('') - p7 = P('~fakeuser/Documents') + p7 = P('~fake800813user/Documents') with os_helper.EnvironmentVarGuard() as env: env.pop('HOME', None) -- cgit v0.12