summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sunaudiodev.py
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* If the sunaudiodev module is available but we cannot find an audioFred Drake2001-04-141-1/+9
| | | | | | | 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.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | 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.
* Move unified findfile() into test_support.pyGuido van Rossum1998-04-231-14/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-15/+15
|
* Make this test work when imported from the interpreter instead of runGuido van Rossum1998-01-291-1/+6
| | | | from regrtest.py (it still works there too, of course).
* Catch sunaudiodev.error on open() and re-raise TestFailed exception.Barry Warsaw1997-01-131-3/+7
|
* Oops, remove debugging statementsBarry Warsaw1997-01-131-1/+0
|
* A slightly better test of sunaudiodev module. Include the audio dataBarry Warsaw1997-01-131-22/+9
| | | | in the distribution.
* Test of the sunaudiodev module -- it simply plays a sound if it canBarry Warsaw1997-01-071-0/+38
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.