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
8189ab85
Kaydet (Commit)
8189ab85
authored
Mar 20, 2011
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Call reap_children() where appropriate
üst
9c0d5eaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
test_pty.py
Lib/test/test_pty.py
+5
-2
test_signal.py
Lib/test/test_signal.py
+6
-3
No files found.
Lib/test/test_pty.py
Dosyayı görüntüle @
8189ab85
from
test.support
import
verbose
,
run_unittest
,
import_module
from
test.support
import
verbose
,
run_unittest
,
import_module
,
reap_children
#Skip these tests if either fcntl or termios is not available
fcntl
=
import_module
(
'fcntl'
)
...
...
@@ -195,7 +195,10 @@ class PtyTest(unittest.TestCase):
# pty.fork() passed.
def
test_main
(
verbose
=
None
):
run_unittest
(
PtyTest
)
try
:
run_unittest
(
PtyTest
)
finally
:
reap_children
()
if
__name__
==
"__main__"
:
test_main
()
Lib/test/test_signal.py
Dosyayı görüntüle @
8189ab85
...
...
@@ -484,9 +484,12 @@ class ItimerTest(unittest.TestCase):
self
.
assertEqual
(
self
.
hndl_called
,
True
)
def
test_main
():
support
.
run_unittest
(
BasicSignalTests
,
InterProcessSignalTests
,
WakeupSignalTests
,
SiginterruptTest
,
ItimerTest
,
WindowsSignalTests
)
try
:
support
.
run_unittest
(
BasicSignalTests
,
InterProcessSignalTests
,
WakeupSignalTests
,
SiginterruptTest
,
ItimerTest
,
WindowsSignalTests
)
finally
:
support
.
reap_children
()
if
__name__
==
"__main__"
:
...
...
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