[Python-Dev] Misc. warnings

Guido van Rossum guido@python.org
Tue, 07 Jan 2003 20:22:15 -0500


> However, then the test suite fails:
> 
> $ ./python ../Lib/test/regrtest.py test_ossaudiodev.py 
> test_ossaudiodev
> test test_ossaudiodev produced unexpected output:
> **********************************************************************
> *** lines 2-7 of actual output doesn't appear in expected output after line 1:
> + expected rate >= 0, not -1
> + expected sample size >= 0, not -2
> + nchannels must be 1 or 2, not 3
> + unknown audio encoding: 177
> + for linear unsigned 16-bit little-endian audio, expected sample size 16, not 8
> + for linear unsigned 8-bit audio, expected sample size 8, not 16
> **********************************************************************
> 1 test failed:
>     test_ossaudiodev
> $

Come to think of it, this is shallow; the file
Lib/test/output/test_ossaudiodev is missing.

I'll fix this and the setup.py; someone else can worry about enabling
it for BSD and other boxes.

--Guido van Rossum (home page: http://www.python.org/~guido/)