From 315aa361fc60d3328aad3a5dcfd42f08213c25fb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 11 Mar 2003 14:46:48 +0000 Subject: [PATCH] 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! --- Lib/test/regrtest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 4a8bc755c6..c2d546d577 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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=''): -- 2.50.1