From 4ce6b351cce6e202568ec499fc0d717d65c0c1d7 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Tue, 23 Apr 2002 02:20:46 +0000 Subject: don't fail if the audio device is busy, just skip. SF patch 545486 --- Lib/test/test_linuxaudiodev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12