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
407380f6
Kaydet (Commit)
407380f6
authored
Eyl 06, 2016
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 27744: skip test if AF_ALG socket bind fails
üst
ea9b2dc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
test_socket.py
Lib/test/test_socket.py
+5
-1
No files found.
Lib/test/test_socket.py
Dosyayı görüntüle @
407380f6
...
@@ -5343,7 +5343,11 @@ class LinuxKernelCryptoAPI(unittest.TestCase):
...
@@ -5343,7 +5343,11 @@ class LinuxKernelCryptoAPI(unittest.TestCase):
# tests for AF_ALG
# tests for AF_ALG
def
create_alg
(
self
,
typ
,
name
):
def
create_alg
(
self
,
typ
,
name
):
sock
=
socket
.
socket
(
socket
.
AF_ALG
,
socket
.
SOCK_SEQPACKET
,
0
)
sock
=
socket
.
socket
(
socket
.
AF_ALG
,
socket
.
SOCK_SEQPACKET
,
0
)
sock
.
bind
((
typ
,
name
))
try
:
sock
.
bind
((
typ
,
name
))
except
FileNotFoundError
as
e
:
# type / algorithm is not available
raise
unittest
.
SkipTest
(
str
(
e
),
typ
,
name
)
return
sock
return
sock
def
test_sha256
(
self
):
def
test_sha256
(
self
):
...
...
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