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
13371303
Kaydet (Commit)
13371303
authored
Agu 03, 2013
tarafından
Nick Coghlan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge #18396 from 3.3
üst
02515f7a
60b3ac74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
test_signal.py
Lib/test/test_signal.py
+8
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_signal.py
Dosyayı görüntüle @
13371303
...
...
@@ -206,11 +206,17 @@ class WindowsSignalTests(unittest.TestCase):
def
test_issue9324
(
self
):
# Updated for issue #10003, adding SIGBREAK
handler
=
lambda
x
,
y
:
None
checked
=
set
()
for
sig
in
(
signal
.
SIGABRT
,
signal
.
SIGBREAK
,
signal
.
SIGFPE
,
signal
.
SIGILL
,
signal
.
SIGINT
,
signal
.
SIGSEGV
,
signal
.
SIGTERM
):
# Set and then reset a handler for signals that work on windows
signal
.
signal
(
sig
,
signal
.
signal
(
sig
,
handler
))
# Set and then reset a handler for signals that work on windows.
# Issue #18396, only for signals without a C-level handler.
if
signal
.
getsignal
(
sig
)
is
not
None
:
signal
.
signal
(
sig
,
signal
.
signal
(
sig
,
handler
))
checked
.
add
(
sig
)
# Issue #18396: Ensure the above loop at least tested *something*
self
.
assertTrue
(
checked
)
with
self
.
assertRaises
(
ValueError
):
signal
.
signal
(
-
1
,
handler
)
...
...
Misc/NEWS
Dosyayı görüntüle @
13371303
...
...
@@ -599,6 +599,9 @@ Library
Tests
-----
- Issue #18396: Fix spurious test failure in test_signal on Windows when
faulthandler is enabled (Patch by Jeremy Kloth)
- Issue #17046: Fix broken test_executable_without_cwd in test_subprocess.
- Issue #15415: Add new temp_dir() and change_cwd() context managers to
...
...
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