commit | fe3b4b9507368de10a0b16aada418b08e0108c3b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Aug 24 18:46:27 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Aug 24 18:46:27 2007 +0000 |
tree | 23fb8f9f6d3ad45cffc36af3592b9d0bf1cfed8f | |
parent | e7445de2b1c72fe8fa7310b629e0d2982eb46b65 [diff] [blame] |
Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in test_ossaudiodev.
diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py index 3fb5d6d..5a6c893 100644 --- a/Lib/test/test_ossaudiodev.py +++ b/Lib/test/test_ossaudiodev.py
@@ -166,8 +166,7 @@ if msg[0] in (errno.EACCES, errno.ENOENT, errno.ENODEV, errno.EBUSY): raise TestSkipped(msg) raise - finally: - dsp.close() + dsp.close() test_support.run_unittest(__name__) if __name__ == "__main__":