[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye

Xavier de Gaye added the comment:

You are right. I will do that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26933] android: test_posixpath fails

2016-05-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I'll push a patch for issue24950 in short time.

Try to search precedences for other your issues. May be they have patches, 
additional information or experienced people.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye

Xavier de Gaye added the comment:

That was fast!
Thanks Serhiy.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26933] android: test_posixpath fails

2016-05-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This is a duplicate of issue24950.

--
nosy: +serhiy.storchaka
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> FAIL: test_expanduser when $HOME=/

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26933] android: test_posixpath fails

2016-05-03 Thread Xavier de Gaye

New submission from Xavier de Gaye:

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

--
components: Cross-Build, Library (Lib)
messages: 264734
nosy: Alex.Willmer, larry, xdegaye
priority: normal
severity: normal
status: open
title: android: test_posixpath fails
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com