diff options
Diffstat (limited to 'Lib/dos-8x3/test_sun.py')
-rw-r--r-- | Lib/dos-8x3/test_sun.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/dos-8x3/test_sun.py b/Lib/dos-8x3/test_sun.py deleted file mode 100644 index af18761..0000000 --- a/Lib/dos-8x3/test_sun.py +++ /dev/null @@ -1,20 +0,0 @@ -from test_support import verbose, findfile, TestFailed -import sunaudiodev -import os - -def play_sound_file(path): - fp = open(path, 'r') - data = fp.read() - fp.close() - try: - a = sunaudiodev.open('w') - except sunaudiodev.error, msg: - raise TestFailed, msg - else: - a.write(data) - a.close() - -def test(): - play_sound_file(findfile('audiotest.au')) - -test() |