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
312bdedf
Kaydet (Commit)
312bdedf
authored
Haz 03, 2010
tarafından
Stefan Krah
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Also skip when test_support.verbose is false.
üst
7682063d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
test_signal.py
Lib/test/test_signal.py
+12
-9
No files found.
Lib/test/test_signal.py
Dosyayı görüntüle @
312bdedf
...
...
@@ -141,9 +141,10 @@ class InterProcessSignalTests(unittest.TestCase):
def
test_main
(
self
):
# Issue 3864, unknown if this affects earlier versions of freebsd also
if
sys
.
platform
==
'freebsd6'
and
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- inter process signals not reliable '
'(do not mix well with threading) on freebsd6
\n
'
)
if
sys
.
platform
==
'freebsd6'
:
if
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- inter process signals not '
'reliable (do not mix well with threading) on freebsd6
\n
'
)
return
# This function spawns a child process to insulate the main
# test-running process from all the signals. It then
...
...
@@ -435,9 +436,10 @@ class ItimerTest(unittest.TestCase):
def
test_itimer_virtual
(
self
):
# Issue 3864, unknown if this affects earlier versions of freebsd also
if
sys
.
platform
==
'freebsd6'
and
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- itimer not reliable '
'(does not mix well with threading) on freebsd6
\n
'
)
if
sys
.
platform
==
'freebsd6'
:
if
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- itimer not reliable (does not '
'mix well with threading) on freebsd6
\n
'
)
return
self
.
itimer
=
signal
.
ITIMER_VIRTUAL
signal
.
signal
(
signal
.
SIGVTALRM
,
self
.
sig_vtalrm
)
...
...
@@ -461,9 +463,10 @@ class ItimerTest(unittest.TestCase):
def
test_itimer_prof
(
self
):
# Issue 3864, unknown if this affects earlier versions of freebsd also
if
sys
.
platform
==
'freebsd6'
and
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- itimer not reliable '
'(does not mix well with threading) on freebsd6
\n
'
)
if
sys
.
platform
==
'freebsd6'
:
if
test_support
.
verbose
:
sys
.
stderr
.
write
(
'skipping -- itimer not reliable (does not '
'mix well with threading) on freebsd6
\n
'
)
return
self
.
itimer
=
signal
.
ITIMER_PROF
signal
.
signal
(
signal
.
SIGPROF
,
self
.
sig_prof
)
...
...
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