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
d2e48ca8
Kaydet (Commit)
d2e48ca8
authored
Ara 16, 2013
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #19987: Merge with 3.3
üst
e9dacaa9
1007432c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
test_winsound.py
Lib/test/test_winsound.py
+8
-8
NEWS
Misc/NEWS
+1
-1
No files found.
Lib/test/test_winsound.py
Dosyayı görüntüle @
d2e48ca8
...
...
@@ -158,15 +158,15 @@ class PlaySoundTest(unittest.TestCase):
)
def
test_alias_fallback
(
self
):
if
_have_soundcard
():
# In the absense of the ability to tell if a sound was actually
# played, this test has two acceptable outcomes: success (no error,
# sound was theoretically played; although as issue #19987 shows
# a box without a soundcard can "succeed") or RuntimeError. Any
# other error is a failure.
try
:
winsound
.
PlaySound
(
'!"$
%
&/(#+*'
,
winsound
.
SND_ALIAS
)
# see http://bugs.python.org/issue19987
#else:
# self.assertRaises(
# RuntimeError,
# winsound.PlaySound,
# '!"$%&/(#+*', winsound.SND_ALIAS
# )
except
RuntimeError
:
pass
def
test_alias_nofallback
(
self
):
if
_have_soundcard
():
...
...
Misc/NEWS
Dosyayı görüntüle @
d2e48ca8
...
...
@@ -199,7 +199,7 @@ Tests
-
Issue
#
19572
:
More
skipped
tests
explicitly
marked
as
skipped
.
-
Issue
#
19595
:
Re
-
enabled
a
long
-
disabled
test
in
test_winsound
.
-
Issue
#
19595
,
#
19987
:
Re
-
enabled
a
long
-
disabled
test
in
test_winsound
.
-
Issue
#
19588
:
Fixed
tests
in
test_random
that
were
silently
skipped
most
of
the
time
.
Patch
by
Julian
Gindi
.
...
...
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