Index: Lib/test/test_sunaudiodev.py =================================================================== --- Lib/test/test_sunaudiodev.py (revision 61589) +++ Lib/test/test_sunaudiodev.py (working copy) @@ -1,5 +1,5 @@ -from test.test_support import findfile, TestFailed, TestSkipped import sunaudiodev +from test import test_support import os try: @@ -8,7 +8,7 @@ audiodev = "/dev/audio" if not os.path.exists(audiodev): - raise TestSkipped("no audio device found!") + raise test_support.TestSkipped("no audio device found!") def play_sound_file(path): fp = open(path, 'r') @@ -17,14 +17,14 @@ try: a = sunaudiodev.open('w') except sunaudiodev.error, msg: - raise TestFailed, msg + raise test_support.TestFailed, msg else: a.write(data) a.close() def test_main(): - play_sound_file(findfile('audiotest.au')) + play_sound_file(test_support.findfile('audiotest.au'))