Message249273
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? |
|
Date |
User |
Action |
Args |
2015-08-28 03:28:26 | felixonmars | set | recipients:
+ felixonmars |
2015-08-28 03:28:26 | felixonmars | set | messageid: <1440732506.26.0.0296213798936.issue24950@psf.upfronthosting.co.za> |
2015-08-28 03:28:26 | felixonmars | link | issue24950 messages |
2015-08-28 03:28:25 | felixonmars | create | |
|