diff options
author | Guido van Rossum <guido@python.org> | 2003-02-14 19:29:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-14 19:29:22 (GMT) |
commit | 4507ec70cff35468f4b1767382f38ecebd4a29a2 (patch) | |
tree | 3374d3b0a6926b1900b0a8ab92df0e546e5c27b0 /Lib | |
parent | 4ab8437e7fefc42056d052a77cada686c0ce33f6 (diff) | |
download | cpython-4507ec70cff35468f4b1767382f38ecebd4a29a2.zip cpython-4507ec70cff35468f4b1767382f38ecebd4a29a2.tar.gz cpython-4507ec70cff35468f4b1767382f38ecebd4a29a2.tar.bz2 |
- The audio driver tests (test_ossaudiodev.py and
test_linuxaudiodev.py) are no longer run by default. This is
because they don't always work, depending on your hardware and
software. To run these tests, you must use an invocation like
./python Lib/test/regrtest.py -u audio test_ossaudiodev
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 2 | ||||
-rw-r--r-- | Lib/test/test_linuxaudiodev.py | 3 | ||||
-rw-r--r-- | Lib/test/test_ossaudiodev.py | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index c60e824..00847fc 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -591,8 +591,10 @@ _expectations = { test_gl test_imgfile test_largefile + test_linuxaudiodev test_nis test_ntpath + test_ossaudiodev test_socketserver test_sunaudiodev test_unicode_file diff --git a/Lib/test/test_linuxaudiodev.py b/Lib/test/test_linuxaudiodev.py index 9f44629..1a11e8f 100644 --- a/Lib/test/test_linuxaudiodev.py +++ b/Lib/test/test_linuxaudiodev.py @@ -1,3 +1,6 @@ +from test import test_support +test_support.requires('audio') + from test.test_support import verbose, findfile, TestFailed, TestSkipped import errno diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py index ed8f770..51fdab2 100644 --- a/Lib/test/test_ossaudiodev.py +++ b/Lib/test/test_ossaudiodev.py @@ -1,3 +1,6 @@ +from test import test_support +test_support.requires('audio') + from test.test_support import verbose, findfile, TestFailed, TestSkipped import errno |