From 596483ab137cc4377f7ca2bcbe3e3642b4c9afa4 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Tue, 23 Apr 2002 02:21:00 +0000 Subject: [PATCH] backport: 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 7924a24e3207..cc44d8b50808 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 -- 2.47.3