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 <>
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/", 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?
Date User Action Args
2015-08-28 03:28:26felixonmarssetrecipients: + felixonmars
2015-08-28 03:28:26felixonmarssetmessageid: <>
2015-08-28 03:28:26felixonmarslinkissue24950 messages
2015-08-28 03:28:25felixonmarscreate