mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244)
This commit is contained in:
parent
cf15419a99
commit
d8880677a7
1 changed files with 1 additions and 1 deletions
|
|
@ -2564,7 +2564,7 @@ def test_expanduser(self):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue