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 felixonmars
Recipients felixonmars
Date 2015-08-28.03:28:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440732506.26.0.0296213798936.issue24950@psf.upfronthosting.co.za>
In-reply-to
Content
test_expanduser in test.test_posixpath.PosixPathTest fails when the users $HOME being exactly "/", after the patch in issue17809 was introduced.

test test_posixpath failed -- Traceback (most recent call last):
  File "/build/python/src/Python-3.5.0rc2/Lib/test/test_posixpath.py", line 249, in test_expanduser
    self.assertEqual(posixpath.expanduser("~"), home.rstrip("/"))
AssertionError: '/' != ''
- /
+

Would it be appropriate to apply the rstrip() also to the left part of the equation?
History
Date User Action Args
2015-08-28 03:28:26felixonmarssetrecipients: + felixonmars
2015-08-28 03:28:26felixonmarssetmessageid: <1440732506.26.0.0296213798936.issue24950@psf.upfronthosting.co.za>
2015-08-28 03:28:26felixonmarslinkissue24950 messages
2015-08-28 03:28:25felixonmarscreate