This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twouters
Recipients twouters
Date 2021-12-22.12:58:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640177928.13.0.0270124264104.issue46150@roundup.psfhosted.org>
In-reply-to
Content
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.)
History
Date User Action Args
2021-12-22 12:58:48twouterssetrecipients: + twouters
2021-12-22 12:58:48twouterssetmessageid: <1640177928.13.0.0270124264104.issue46150@roundup.psfhosted.org>
2021-12-22 12:58:48twouterslinkissue46150 messages
2021-12-22 12:58:48twouterscreate