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
0c36bed1
Unverified
Kaydet (Commit)
0c36bed1
authored
Ara 30, 2017
tarafından
Yury Selivanov
Kaydeden (comit)
GitHub
Ara 30, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054)
üst
deae6b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test_sslproto.py
Lib/test/test_asyncio/test_sslproto.py
+4
-2
No files found.
Lib/test/test_asyncio/test_sslproto.py
Dosyayı görüntüle @
0c36bed1
"""Tests for asyncio/sslproto.py."""
"""Tests for asyncio/sslproto.py."""
import
os
import
logging
import
logging
import
unittest
import
unittest
from
unittest
import
mock
from
unittest
import
mock
...
@@ -296,7 +297,7 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin):
...
@@ -296,7 +297,7 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin):
@unittest.skipIf
(
ssl
is
None
,
'No ssl module'
)
@unittest.skipIf
(
ssl
is
None
,
'No ssl module'
)
class
SelectorStartTLS
(
BaseStartTLS
,
unittest
.
TestCase
):
class
SelectorStartTLS
Tests
(
BaseStartTLS
,
unittest
.
TestCase
):
def
new_loop
(
self
):
def
new_loop
(
self
):
return
asyncio
.
SelectorEventLoop
()
return
asyncio
.
SelectorEventLoop
()
...
@@ -304,7 +305,8 @@ class SelectorStartTLS(BaseStartTLS, unittest.TestCase):
...
@@ -304,7 +305,8 @@ class SelectorStartTLS(BaseStartTLS, unittest.TestCase):
@unittest.skipIf
(
ssl
is
None
,
'No ssl module'
)
@unittest.skipIf
(
ssl
is
None
,
'No ssl module'
)
@unittest.skipUnless
(
hasattr
(
asyncio
,
'ProactorEventLoop'
),
'Windows only'
)
@unittest.skipUnless
(
hasattr
(
asyncio
,
'ProactorEventLoop'
),
'Windows only'
)
class
ProactorStartTLS
(
BaseStartTLS
,
unittest
.
TestCase
):
@unittest.skipIf
(
os
.
environ
.
get
(
'APPVEYOR'
),
'XXX: issue 32458'
)
class
ProactorStartTLSTests
(
BaseStartTLS
,
unittest
.
TestCase
):
def
new_loop
(
self
):
def
new_loop
(
self
):
return
asyncio
.
ProactorEventLoop
()
return
asyncio
.
ProactorEventLoop
()
...
...
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