Commit cf795b49 authored by Collin Winter's avatar Collin Winter

Fix an issue related to the unittest conversion.

parent fb5b9890
......@@ -162,6 +162,12 @@ class OSSAudioDevTests(unittest.TestCase):
def test_main():
try:
dsp = ossaudiodev.open('w')
except IOError, msg:
if msg[0] in (errno.EACCES, errno.ENOENT, errno.ENODEV, errno.EBUSY):
raise TestSkipped(msg)
raise
test_support.run_unittest(__name__)
if __name__ == "__main__":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment