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
50219fcd
Kaydet (Commit)
50219fcd
authored
Kas 05, 2014
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #22784: fix test_asyncio when the ssl module isn't available
üst
b9b389ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
test_events.py
Lib/test/test_asyncio/test_events.py
+9
-8
No files found.
Lib/test/test_asyncio/test_events.py
Dosyayı görüntüle @
50219fcd
...
@@ -606,14 +606,15 @@ class EventLoopTestsMixin:
...
@@ -606,14 +606,15 @@ class EventLoopTestsMixin:
self
.
assertGreater
(
pr
.
nbytes
,
0
)
self
.
assertGreater
(
pr
.
nbytes
,
0
)
tr
.
close
()
tr
.
close
()
def
_dummy_ssl_create_context
(
self
,
purpose
=
ssl
.
Purpose
.
SERVER_AUTH
,
*
,
if
ssl
:
cafile
=
None
,
capath
=
None
,
cadata
=
None
):
def
_dummy_ssl_create_context
(
self
,
purpose
=
ssl
.
Purpose
.
SERVER_AUTH
,
*
,
"""
cafile
=
None
,
capath
=
None
,
cadata
=
None
):
A ssl.create_default_context() replacement that doesn't enable
"""
cert validation.
A ssl.create_default_context() replacement that doesn't enable
"""
cert validation.
self
.
assertEqual
(
purpose
,
ssl
.
Purpose
.
SERVER_AUTH
)
"""
return
test_utils
.
dummy_ssl_context
()
self
.
assertEqual
(
purpose
,
ssl
.
Purpose
.
SERVER_AUTH
)
return
test_utils
.
dummy_ssl_context
()
def
_test_create_ssl_connection
(
self
,
httpd
,
create_connection
,
def
_test_create_ssl_connection
(
self
,
httpd
,
create_connection
,
check_sockname
=
True
):
check_sockname
=
True
):
...
...
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