Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cc23cc67
Kaydet (Commit)
cc23cc67
authored
Şub 02, 2013
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
üst
d66c0ee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
test_posix.py
Lib/test/test_posix.py
+7
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_posix.py
Dosyayı görüntüle @
cc23cc67
...
...
@@ -452,6 +452,13 @@ class PosixTester(unittest.TestCase):
if
ret
!=
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
Dosyayı görüntüle @
cc23cc67
...
...
@@ -763,6 +763,9 @@ Tests
- Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing
a test failure in test_ssl.
- 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