diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-10-22 15:26:09 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-10-22 15:26:09 (GMT) |
commit | 2158df0b4d8358b5efdcac3024e8cc6d6c92d981 (patch) | |
tree | 37b69a6658c89b25d004d36fdb9b245d8e55a9d4 /Lib/test/regrtest.py | |
parent | f10584cb112c89da87d7d4b524851226ee7f9406 (diff) | |
download | cpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.zip cpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.tar.gz cpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.tar.bz2 |
Patch #473187: Add a test script that exercises most of the functions in
the curses module. It's not run automatically; '-u curses' must be
specified as an argument to regrtest
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 0531896..5d56b92 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -36,6 +36,9 @@ those requiring large file support or network connectivity. The argument is a comma-separated list of words indicating the resources to test. Currently only the following are defined: + curses - Tests that use curses and will modify the terminal's + state and output modes. + largefile - It is okay to run some test that may create huge files. These tests can take a long time and may consume >2GB of disk space temporarily. @@ -118,7 +121,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0, elif o in ('-u', '--use'): u = [x.lower() for x in a.split(',')] for r in u: - if r not in ('largefile', 'network'): + if r not in ('curses', 'largefile', 'network'): usage(1, 'Invalid -u/--use option: %s' % a) use_resources.extend(u) if generate and verbose: |