summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_linuxaudiodev.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_linuxaudiodev.py')
-rw-r--r--Lib/test/test_linuxaudiodev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_linuxaudiodev.py b/Lib/test/test_linuxaudiodev.py
index 1a11e8f..fe902b5 100644
--- a/Lib/test/test_linuxaudiodev.py
+++ b/Lib/test/test_linuxaudiodev.py
@@ -28,7 +28,7 @@ def play_sound_file(path):
try:
a = linuxaudiodev.open('w')
except linuxaudiodev.error, msg:
- if msg[0] in (errno.EACCES, errno.ENODEV, errno.EBUSY):
+ if msg[0] in (errno.EACCES, errno.ENOENT, errno.ENODEV, errno.EBUSY):
raise TestSkipped, msg
raise TestFailed, msg