from test
.test_support
import verbose
, findfile
, TestFailed
, TestSkipped
audiodev
= os
.environ
["AUDIODEV"]
if not os
.path
.exists(audiodev
):
raise TestSkipped("no audio device found!")
def play_sound_file(path
):
a
= sunaudiodev
.open('w')
except sunaudiodev
.error
, msg
:
play_sound_file(findfile('audiotest.au'))