--- test_posixpath.py.orig 2013年05月05日 14:24:43.175664840 +1000 +++ test_posixpath.py 2013年05月05日 14:25:29.359643766 +1000 @@ -261,7 +261,7 @@ # expanduser should fall back to using the password database del env['HOME'] home = pwd.getpwuid(os.getuid()).pw_dir - self.assertEqual(posixpath.expanduser("~"), home) + self.assertEqual(posixpath.expanduser("~"), home.rstrip("/")) def test_normpath(self): self.assertEqual(posixpath.normpath(""), ".")