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).
This commit is contained in:
Guido van Rossum 2007-08-21 22:49:52 +00:00
parent 003b09883e
commit 23cfc9845c
2 changed files with 11 additions and 6 deletions

View file

@ -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__":