mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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:
parent
003b09883e
commit
23cfc9845c
2 changed files with 11 additions and 6 deletions
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue