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
a945969d
Kaydet (Commit)
a945969d
authored
Haz 03, 2016
tarafından
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue25931: fix tests broken by the conditional define of socketserver.Forking*
üst
aea16503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
test_socketserver.py
Lib/test/test_socketserver.py
+7
-6
No files found.
Lib/test/test_socketserver.py
Dosyayı görüntüle @
a945969d
...
...
@@ -44,7 +44,7 @@ def receive(sock, n, timeout=20):
else
:
raise
RuntimeError
(
"timed out on
%
r"
%
(
sock
,))
if
HAVE_UNIX_SOCKETS
:
if
HAVE_UNIX_SOCKETS
and
HAVE_FORKING
:
class
ForkingUnixStreamServer
(
socketserver
.
ForkingMixIn
,
socketserver
.
UnixStreamServer
):
pass
...
...
@@ -368,11 +368,12 @@ class ThreadingErrorTestServer(socketserver.ThreadingMixIn,
self
.
done
.
wait
()
class
ForkingErrorTestServer
(
socketserver
.
ForkingMixIn
,
BaseErrorTestServer
):
def
wait_done
(
self
):
[
child
]
=
self
.
active_children
os
.
waitpid
(
child
,
0
)
self
.
active_children
.
clear
()
if
HAVE_FORKING
:
class
ForkingErrorTestServer
(
socketserver
.
ForkingMixIn
,
BaseErrorTestServer
):
def
wait_done
(
self
):
[
child
]
=
self
.
active_children
os
.
waitpid
(
child
,
0
)
self
.
active_children
.
clear
()
class
MiscTestCase
(
unittest
.
TestCase
):
...
...
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