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 koobs
Recipients koobs
Date 2013-04-21.05:37:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366522649.21.0.891133291523.issue17809@psf.upfronthosting.co.za>
In-reply-to
Content
test_expanduser in test.test_posixpath.PosixPathTest fails when the users $HOME ends with "/"

======================================================================
FAIL: test_expanduser (test.test_posixpath.PosixPathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd/build/Lib/test/test_posixpath.py", line 264, in test_expanduser
    self.assertEqual(posixpath.expanduser("~"), home)
AssertionError: '/usr/home/buildbot' != '/usr/home/buildbot/'
- /usr/home/buildbot
+ /usr/home/buildbot/
?                   +
----------------------------------------------------------------------

Test failures can be seen in the following FreeBSD 9-STABLE buildbots on all branches except 2.7:

3.x - http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.x/builds/1256/steps/test/logs/stdio
3.3 - http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.3/builds/546/steps/test/logs/stdio
3.2 - http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.2/builds/490/steps/test/logs/stdio

It is also reproducible outside of the buildbot environment using fresh Python 3.3.1 sources with default build configuration (see attached expanduser.log)

Commenting out Lib/test/test_posixpath.py#l264 results in the test passing
History
Date User Action Args
2013-04-21 05:37:29koobssetrecipients: + koobs
2013-04-21 05:37:29koobssetmessageid: <1366522649.21.0.891133291523.issue17809@psf.upfronthosting.co.za>
2013-04-21 05:37:29koobslinkissue17809 messages
2013-04-21 05:37:28koobscreate