[Python-Dev] test_ossaudiodev hangs

Jeremy Hylton jeremy@zope.com
Thu, 23 Jan 2003 12:51:07 -0500


When I run the Python test suite, the ossaudiodev test hangs.  Does
anyone else see this hang?  Is it expected?

I'm going to have to disable the test in my local checkout, but that
seems wrong.

Jeremy

slothrop:~/src/python/dist/src/build-pydebug> ./python ../Lib/test/regrtest.py test_ossaudiodev
test_ossaudiodev
Traceback (most recent call last):
  File "../Lib/test/regrtest.py", line 969, in ?
    main()
  File "../Lib/test/regrtest.py", line 259, in main
    ok = runtest(test, generate, verbose, quiet, testdir)
  File "../Lib/test/regrtest.py", line 389, in runtest
    the_package = __import__(abstest, globals(), locals(), [])
  File "/home/jeremy/src/python/dist/src/Lib/test/test_ossaudiodev.py", line 95, in ?
    test()
  File "/home/jeremy/src/python/dist/src/Lib/test/test_ossaudiodev.py", line 92, in test
    play_sound_file(data, rate, ssize, nchannels)
  File "/home/jeremy/src/python/dist/src/Lib/test/test_ossaudiodev.py", line 55, in play_sound_file
    a.write(data)
KeyboardInterrupt