1 from test
.test_support
import verbose
, findfile
, TestFailed
, TestSkipped
6 audiodev
= os
.environ
["AUDIODEV"]
8 audiodev
= "/dev/audio"
10 if not os
.path
.exists(audiodev
):
11 raise TestSkipped("no audio device found!")
13 def play_sound_file(path
):
18 a
= sunaudiodev
.open('w')
19 except sunaudiodev
.error
, msg
:
26 play_sound_file(findfile('audiotest.au'))