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
dd225e4c
Kaydet (Commit)
dd225e4c
authored
May 20, 2013
tarafından
Charles-Francois Natali
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17684: Fix some test_socket failures due to limited FD passing support
on OS-X. Patch by Jeff Ramnani.
üst
ca97fd30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
test_socket.py
Lib/test/test_socket.py
+4
-6
No files found.
Lib/test/test_socket.py
Dosyayı görüntüle @
dd225e4c
...
...
@@ -2533,8 +2533,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
def
_testFDPassCMSG_LEN
(
self
):
self
.
createAndSendFDs
(
1
)
# Issue #12958: The following test has problems on Mac OS X
@support.anticipate_failure
(
sys
.
platform
==
"darwin"
)
@unittest.skipIf
(
sys
.
platform
==
"darwin"
,
"skipping, see issue #12958"
)
@requireAttrs
(
socket
,
"CMSG_SPACE"
)
def
testFDPassSeparate
(
self
):
# Pass two FDs in two separate arrays. Arrays may be combined
...
...
@@ -2544,7 +2543,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
maxcmsgs
=
2
)
@testFDPassSeparate.client_skip
@
support.anticipate_failure
(
sys
.
platform
==
"darwin
"
)
@
unittest.skipIf
(
sys
.
platform
==
"darwin"
,
"skipping, see issue #12958
"
)
def
_testFDPassSeparate
(
self
):
fd0
,
fd1
=
self
.
newFDs
(
2
)
self
.
assertEqual
(
...
...
@@ -2556,8 +2555,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
array
.
array
(
"i"
,
[
fd1
]))]),
len
(
MSG
))
# Issue #12958: The following test has problems on Mac OS X
@support.anticipate_failure
(
sys
.
platform
==
"darwin"
)
@unittest.skipIf
(
sys
.
platform
==
"darwin"
,
"skipping, see issue #12958"
)
@requireAttrs
(
socket
,
"CMSG_SPACE"
)
def
testFDPassSeparateMinSpace
(
self
):
# Pass two FDs in two separate arrays, receiving them into the
...
...
@@ -2569,7 +2567,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
maxcmsgs
=
2
,
ignoreflags
=
socket
.
MSG_CTRUNC
)
@testFDPassSeparateMinSpace.client_skip
@
support.anticipate_failure
(
sys
.
platform
==
"darwin
"
)
@
unittest.skipIf
(
sys
.
platform
==
"darwin"
,
"skipping, see issue #12958
"
)
def
_testFDPassSeparateMinSpace
(
self
):
fd0
,
fd1
=
self
.
newFDs
(
2
)
self
.
assertEqual
(
...
...
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