You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/gpshead'closed_at=<Date2021-12-27.18:37:51.941>created_at=<Date2021-12-22.12:58:48.118>labels= ['tests', '3.9', '3.10', '3.11']
title='test_pathlib assumes "fakeuser" does not exist as user'updated_at=<Date2021-12-27.18:37:51.940>user='https://github.com/Yhg1s'
test_pathlib contains, in PosixPathTest.test_expanduser, a check that expanduser on a nonexistent user will raise RuntimeError. Leaving aside the question why that's a RuntimeError (which is probably too late to fix anyway), the test performs this check by assuming 'fakeuser' is a nonexistent user. This test will fail when such a user does exist. (The test already uses the pwd module for other reasons, so it certainly could check that first.)
New changeset b8de8b7 by Nikita Sobolev in branch 'main': bpo-46150: ensure fakeuser does not exist in PosixPathTest.test_expanduser (GH-30240) b8de8b7
New changeset 8005e22 by Miss Islington (bot) in branch '3.10': bpo-46150: ensure fakeuser does not exist in PosixPathTest.test_expanduser (GH-30240) 8005e22
New changeset d718764 by Miss Islington (bot) in branch '3.9': bpo-46150: ensure fakeuser does not exist in PosixPathTest.test_expanduser (GH-30240) d718764
fakename
does not exist inPosixPathTest.test_expanduser
#30240fakeuser
does not exist inPosixPathTest.test_expanduser
(GH-30240) #30248fakeuser
does not exist inPosixPathTest.test_expanduser
(GH-30240) #30249fakeuser
does not exist inPosixPathTest.test_expanduser
(GH-30240) #30249fakeuser
does not exist inPosixPathTest.test_expanduser
(GH-30240) #30249Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: