diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2002-04-23 02:20:46 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2002-04-23 02:20:46 (GMT) |
commit | 4ce6b351cce6e202568ec499fc0d717d65c0c1d7 (patch) | |
tree | 84fcbeff6d342476ffe18125eb6fe0f05e0052c3 /Lib | |
parent | 8388895fe43da057006e50cae5d1b6e2a12083e0 (diff) | |
download | cpython-4ce6b351cce6e202568ec499fc0d717d65c0c1d7.zip cpython-4ce6b351cce6e202568ec499fc0d717d65c0c1d7.tar.gz cpython-4ce6b351cce6e202568ec499fc0d717d65c0c1d7.tar.bz2 |
don't fail if the audio device is busy, just skip.
SF patch 545486
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_linuxaudiodev.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_linuxaudiodev.py b/Lib/test/test_linuxaudiodev.py index 7924a24..cc44d8b 100644 --- a/Lib/test/test_linuxaudiodev.py +++ b/Lib/test/test_linuxaudiodev.py @@ -25,7 +25,7 @@ def play_sound_file(path): try: a = linuxaudiodev.open('w') except linuxaudiodev.error, msg: - if msg[0] in (errno.EACCES, errno.ENODEV): + if msg[0] in (errno.EACCES, errno.ENODEV, errno.EBUSY): raise TestSkipped, msg raise TestFailed, msg |