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
7212148c
Unverified
Kaydet (Commit)
7212148c
authored
Kas 30, 2018
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
Kas 30, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35352: Cleanup test_asyncio/utils.py (GH-10831)
'here' variable is no longer needed.
üst
b062ba77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
utils.py
Lib/test/test_asyncio/utils.py
+1
-7
No files found.
Lib/test/test_asyncio/utils.py
Dosyayı görüntüle @
7212148c
...
...
@@ -156,14 +156,8 @@ class SSLWSGIServerMixin:
# contains the ssl key and certificate files) differs
# between the stdlib and stand-alone asyncio.
# Prefer our own if we can find it.
here
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
,
'tests'
)
if
not
os
.
path
.
isdir
(
here
):
here
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
__file__
),
'test'
,
'test_asyncio'
)
keyfile
=
os
.
path
.
join
(
here
,
ONLYKEY
)
certfile
=
os
.
path
.
join
(
here
,
ONLYCERT
)
context
=
ssl
.
SSLContext
()
context
.
load_cert_chain
(
certfile
,
keyfile
)
context
.
load_cert_chain
(
ONLYCERT
,
ONLYKEY
)
ssock
=
context
.
wrap_socket
(
request
,
server_side
=
True
)
try
:
...
...
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