mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
This commit is contained in:
parent
975735f729
commit
04cdfa1147
6 changed files with 40 additions and 18 deletions
|
@ -768,7 +768,7 @@ class PosixTester(unittest.TestCase):
|
|||
if sys.platform == 'darwin':
|
||||
import sysconfig
|
||||
dt = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') or '10.0'
|
||||
if float(dt) < 10.6:
|
||||
if tuple(int(n) for n in dt.split('.')[0:2]) < (10, 6):
|
||||
raise unittest.SkipTest("getgroups(2) is broken prior to 10.6")
|
||||
|
||||
# 'id -G' and 'os.getgroups()' should return the same
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue