Kaydet (Commit) 315aa361 authored tarafından Guido van Rossum's avatar Guido van Rossum

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!
üst 47e59872
...@@ -46,6 +46,10 @@ resources to test. Currently only the following are defined: ...@@ -46,6 +46,10 @@ resources to test. Currently only the following are defined:
all - Enable all special resources. 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 curses - Tests that use curses and will modify the terminal's
state and output modes. state and output modes.
...@@ -101,7 +105,7 @@ if sys.platform == 'darwin': ...@@ -101,7 +105,7 @@ if sys.platform == 'darwin':
from test import test_support from test import test_support
RESOURCE_NAMES = ('curses', 'largefile', 'network', 'bsddb') RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb')
def usage(code, msg=''): def usage(code, msg=''):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment