Here's what i get: test_time (test.test_posixpath.PosixPathTest) ... ok ====================================================================== FAIL: test_expanduser (test.test_posixpath.PosixPathTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/paludis/dev-lang/python-2.4.3-r4/work/Python-2.4.3/Lib/test/test_posixpath.py", line 353, in test_expanduser posixpath.expanduser("~/") AssertionError: '/var/tmp/paludis/dev-lang/python-2.4.3-r4/temp//' != '/var/tmp/paludis/dev-lang/python-2.4.3-r4/temp/' ---------------------------------------------------------------------- Ran 27 tests in 0.246s FAILED (failures=1) test test_posixpath failed -- Traceback (most recent call last): File "/var/tmp/paludis/dev-lang/python-2.4.3-r4/work/Python-2.4.3/Lib/test/test_posixpath.py", line 353, in test_expanduser posixpath.expanduser("~/") AssertionError: '/var/tmp/paludis/dev-lang/python-2.4.3-r4/temp//' != '/var/tmp/paludis/dev-lang/python-2.4.3-r4/temp/' make: *** [test] Error 1 !!! ERROR in dev-lang/python-2.4.3-r4: !!! In src_test at line 309 !!! make test failed This assertion obviously goes to far, '//' and '/' are the same, even if not lexically. Please disable or fix the test, thanks :)
Actually saw this before (bug 150729) but missed something while debugging it. Reproduced by running HOME=/spork/ python -m test.test_posixpath, filed upstream bug http://sourceforge.net/tracker/index.php?func=detail&aid=1635353&group_id=5470&atid=105470, the test will either be disabled or fixed in the next revbump which will happen Real Soon Now (you can work around it if you can tell paludis to set $HOME to something that does not end in a /).
Any news?
I can't reproduce this with 2.4.4.