'id -G' produces the expected result on an android-23-x86 emulator running Android 6.0 (API 23).
There is a new error now instead of the one reported at issue #26932:
======================================================================
FAIL: test_getgroups (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_posix.py", line 816, in test_getgroups
set(posix.getgroups() + [posix.getegid()]))
AssertionError: Items in the second set but not the first:
0
The problem is that posix.getegid() returns 0, and 0 is not in the list printed by 'id -G'. |