diff options
-rw-r--r-- | Lib/test/test_linuxaudiodev.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_linuxaudiodev.py b/Lib/test/test_linuxaudiodev.py index ad7fdf2..64cd80b3 100644 --- a/Lib/test/test_linuxaudiodev.py +++ b/Lib/test/test_linuxaudiodev.py @@ -1,4 +1,4 @@ -from test_support import verbose, findfile, TestFailed +from test_support import verbose, findfile, TestFailed, TestSkipped import linuxaudiodev import errno import os @@ -11,7 +11,7 @@ def play_sound_file(path): a = linuxaudiodev.open('w') except linuxaudiodev.error, msg: if msg[0] in (errno.EACCES, errno.ENODEV): - raise ImportError, msg + raise TestSkipped, msg raise TestFailed, msg else: a.write(data) |