[Python-checkins] python/dist/src/Lib/test test_ossaudiodev.py,1.7,1.8
aimacintyre@users.sourceforge.net
aimacintyre@users.sourceforge.net
Wed, 02 Jul 2003 07:05:10 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv27154
Modified Files:
test_ossaudiodev.py
Log Message:
On those systems lacking the AFMT_S16_NE symbol, the test was failing
because it was still looking in the ossaudiodev module namespace for
this symbol.
As the symbol has already been rebound as a global, use that instead.
Index: test_ossaudiodev.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ossaudiodev.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_ossaudiodev.py 3 Jun 2003 00:32:44 -0000 1.7
--- test_ossaudiodev.py 2 Jul 2003 14:05:08 -0000 1.8
***************
*** 76,80 ****
# most ancient and crufty hardware
config1 = (ossaudiodev.AFMT_U8, 1, 8000)
! config2 = (ossaudiodev.AFMT_S16_NE, 2, 44100)
for config in [config1, config2]:
--- 76,80 ----
# most ancient and crufty hardware
config1 = (ossaudiodev.AFMT_U8, 1, 8000)
! config2 = (AFMT_S16_NE, 2, 44100)
for config in [config1, config2]: