Fred Drake
b891891d00
If the sunaudiodev module is available but we cannot find an audio
...
device to use, skip this test instead of allowing an error to occur
when we attempt to play sound on the absent device.
Verified by Mark Favas.
2001-04-14 03:10:12 +00:00
Fredrik Lundh
f785042433
a bold attempt to fix things broken by MAL's verify patch: import
...
'verify' iff it's used by a test module...
2001-01-17 21:51:36 +00:00
Marc-André Lemburg
3661908a6a
This patch removes all uses of "assert" in the regression test suite
...
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.
Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-17 19:11:13 +00:00
Guido van Rossum
e26132cf5e
Move unified findfile() into test_support.py
1998-04-23 20:13:30 +00:00
Guido van Rossum
41360a4696
Mass check-in after untabifying all files that need it.
1998-03-26 19:42:58 +00:00
Guido van Rossum
c9aef03af4
Make this test work when imported from the interpreter instead of run
...
from regrtest.py (it still works there too, of course).
1998-01-29 21:53:17 +00:00
Barry Warsaw
3de721d073
Catch sunaudiodev.error on open() and re-raise TestFailed exception.
1997-01-13 20:53:46 +00:00
Barry Warsaw
59e066e73b
Oops, remove debugging statements
1997-01-13 20:50:40 +00:00
Barry Warsaw
b241c42192
A slightly better test of sunaudiodev module. Include the audio data
...
in the distribution.
1997-01-13 20:34:44 +00:00
Barry Warsaw
5bc697dd31
Test of the sunaudiodev module -- it simply plays a sound if it can
...
find one and doesn't output any data that can be verified. If it
can't find a sound file by looking in the standard Solaris locations
(which we can extend later), it raises an ImportError.
1997-01-07 21:05:29 +00:00