summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ossaudiodev.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-21 22:49:52 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-21 22:49:52 (GMT)
commit23cfc9845c9b0fdeb4759bd120cf6a465bf0af9e (patch)
treec667e0c8bd44497830063df70cdd06e2e9d0598f /Lib/test/test_ossaudiodev.py
parent003b09883ee3a710e85a68183861168c059ef773 (diff)
downloadcpython-23cfc9845c9b0fdeb4759bd120cf6a465bf0af9e.zip
cpython-23cfc9845c9b0fdeb4759bd120cf6a465bf0af9e.tar.gz
cpython-23cfc9845c9b0fdeb4759bd120cf6a465bf0af9e.tar.bz2
Convert sunaudio.py to bytes. (It has no unit test of its own!)
Fix test_ossaudiodev by closing the dsp properly (it can't be opened multiple times on my box).
Diffstat (limited to 'Lib/test/test_ossaudiodev.py')
-rw-r--r--Lib/test/test_ossaudiodev.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py
index eb15e88..0cdc93c 100644
--- a/Lib/test/test_ossaudiodev.py
+++ b/Lib/test/test_ossaudiodev.py
@@ -170,6 +170,7 @@ def test_main():
errno.ENODEV, errno.EBUSY):
raise TestSkipped(msg)
raise
+ dsp.close()
test_support.run_unittest(__name__)
if __name__ == "__main__":