[Python-checkins] python/dist/src/Lib/test test_linuxaudiodev.py,1.6,1.6.26.1

anthonybaxter@sourceforge.net anthonybaxter@sourceforge.net
2002年4月22日 19:21:02 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv31881a/test
Modified Files:
 Tag: release22-maint
	test_linuxaudiodev.py 
Log Message:
backport:
don't fail if the audio device is busy, just skip. 
SF patch 545486
Index: test_linuxaudiodev.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_linuxaudiodev.py,v
retrieving revision 1.6
retrieving revision 1.6.26.1
diff -C2 -d -r1.6 -r1.6.26.1
*** test_linuxaudiodev.py	8 Oct 2000 00:20:20 -0000	1.6
--- test_linuxaudiodev.py	23 Apr 2002 02:21:00 -0000	1.6.26.1
***************
*** 26,30 ****
 a = linuxaudiodev.open('w')
 except linuxaudiodev.error, msg:
! if msg[0] in (errno.EACCES, errno.ENODEV):
 raise TestSkipped, msg
 raise TestFailed, msg
--- 26,30 ----
 a = linuxaudiodev.open('w')
 except linuxaudiodev.error, msg:
! if msg[0] in (errno.EACCES, errno.ENODEV, errno.EBUSY):
 raise TestSkipped, msg
 raise TestFailed, msg

AltStyle によって変換されたページ (->オリジナル) /