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 xdegaye
Recipients Alex.Willmer, larry, xdegaye
Date 2016-05-03.14:50:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462287047.8.0.736502543167.issue26933@psf.upfronthosting.co.za>
In-reply-to
Content
test_posixpath fails on an android emulator running an x86 system image at API level 21.

On android we have:
root@generic_x86:/data/local/tmp # python
Python 3.6.0a0 (default:f4c6dab59cd8+, May  3 2016, 10:42:45) 
[GCC 4.9 20140827 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import posixpath, pwd, os
>>> posixpath.expanduser("~")
'/data'
>>> pwd.getpwuid(os.getuid()).pw_dir
'/'
>>>


Test results:

======================================================================
FAIL: test_expanduser (test.test_posixpath.PosixPathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_posixpath.py", line 247, in test_expanduser
    self.assertEqual(posixpath.expanduser("~"), home.rstrip("/"))
AssertionError: '/' != ''
- /
+ 


----------------------------------------------------------------------
Ran 54 tests in 0.046s

FAILED (failures=1)
test test_posixpath failed
1 test failed:
    test_posixpath
Total duration: 0:00:01
History
Date User Action Args
2016-05-03 14:50:47xdegayesetrecipients: + xdegaye, larry, Alex.Willmer
2016-05-03 14:50:47xdegayesetmessageid: <1462287047.8.0.736502543167.issue26933@psf.upfronthosting.co.za>
2016-05-03 14:50:47xdegayelinkissue26933 messages
2016-05-03 14:50:47xdegayecreate