[Python-checkins] python/dist/src/Lib/test regrtest.py,1.134,1.135

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 11 Mar 2003 06:46:50 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv6900

Modified Files:
	regrtest.py 
Log Message:
Add 'audio' resource.

ALERT! A month ago or so I made test_ossaudiodev.py require the
'audio' resource, but I didn't make the necessary changes to
regrtest.py.  This means that *nobody* has been testing the oss module
all that time!


Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** regrtest.py	7 Mar 2003 15:38:11 -0000	1.134
--- regrtest.py	11 Mar 2003 14:46:48 -0000	1.135
***************
*** 47,50 ****
--- 47,54 ----
      all -       Enable all special resources.
  
+     audio -     Tests that use the audio device.  (There are known
+                 cases of broken audio drivers that can crash Python or
+                 even the Linux kernel.)
+ 
      curses -    Tests that use curses and will modify the terminal's
                  state and output modes.
***************
*** 102,106 ****
  from test import test_support
  
! RESOURCE_NAMES = ('curses', 'largefile', 'network', 'bsddb')
  
  
--- 106,110 ----
  from test import test_support
  
! RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb')