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!
This commit is contained in:
parent
47e5987256
commit
315aa361fc
|
@ -46,6 +46,10 @@ resources to test. Currently only the following are defined:
|
|||
|
||||
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.
|
||||
|
||||
|
@ -101,7 +105,7 @@ if sys.platform == 'darwin':
|
|||
|
||||
from test import test_support
|
||||
|
||||
RESOURCE_NAMES = ('curses', 'largefile', 'network', 'bsddb')
|
||||
RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb')
|
||||
|
||||
|
||||
def usage(code, msg=''):
|
||||
|
|
Loading…
Reference in New Issue