summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2021-12-24 03:17:40 (GMT)
committerGitHub <noreply@github.com>2021-12-24 03:17:40 (GMT)
commitd8880677a79ba4e70bbe7583eecf573bfceb7e98 (patch)
treef7f131ba5d61567c878a05181430561b30e6dca8 /Lib
parentcf15419a99962b3503ff7123e148d71f7f01bc15 (diff)
downloadcpython-d8880677a79ba4e70bbe7583eecf573bfceb7e98.zip
cpython-d8880677a79ba4e70bbe7583eecf573bfceb7e98.tar.gz
cpython-d8880677a79ba4e70bbe7583eecf573bfceb7e98.tar.bz2
Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_pathlib.py2
1 files changed, 1 insertions, 1 deletions
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)