diff options
author | Georg Brandl <georg@python.org> | 2007-08-24 18:46:27 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-24 18:46:27 (GMT) |
commit | fe3b4b9507368de10a0b16aada418b08e0108c3b (patch) | |
tree | 23fb8f9f6d3ad45cffc36af3592b9d0bf1cfed8f /Lib/test/test_ossaudiodev.py | |
parent | e7445de2b1c72fe8fa7310b629e0d2982eb46b65 (diff) | |
download | cpython-fe3b4b9507368de10a0b16aada418b08e0108c3b.zip cpython-fe3b4b9507368de10a0b16aada418b08e0108c3b.tar.gz cpython-fe3b4b9507368de10a0b16aada418b08e0108c3b.tar.bz2 |
Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in test_ossaudiodev.
Diffstat (limited to 'Lib/test/test_ossaudiodev.py')
-rw-r--r-- | Lib/test/test_ossaudiodev.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ def test_main(): 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__": |