Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6d29628d
Commit
6d29628d
authored
Feb 02, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #16698: merge from 3.2
parents
12b04cfc
028915e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Lib/test/test_posix.py
Lib/test/test_posix.py
+7
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_posix.py
View file @
6d29628d
...
...
@@ -682,6 +682,13 @@ class PosixTester(unittest.TestCase):
if
ret
is
not
None
or
not
groups
:
raise
unittest
.
SkipTest
(
"need working 'id -G'"
)
# Issues 16698: OS X ABIs prior to 10.6 have limits on getgroups()
if
sys
.
platform
==
'darwin'
:
import
sysconfig
dt
=
sysconfig
.
get_config_var
(
'MACOSX_DEPLOYMENT_TARGET'
)
or
'10.0'
if
float
(
dt
)
<
10.6
:
raise
unittest
.
SkipTest
(
"getgroups(2) is broken prior to 10.6"
)
# 'id -G' and 'os.getgroups()' should return the same
# groups, ignoring order and duplicates.
# #10822 - it is implementation defined whether posix.getgroups()
...
...
Misc/NEWS
View file @
6d29628d
...
...
@@ -577,6 +577,9 @@ Tests
-
Issue
#
15557
:
Add
a
test
suite
for
the
`
webbrowser
`
module
,
thanks
to
Anton
Barkovsky
.
-
Issue
#
16698
:
Skip
posix
test_getgroups
when
built
with
OS
X
deployment
target
prior
to
10.6
.
Build
-----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment