summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* Catch KeyboardInterrupt separately and propagate it, instead ofGuido van Rossum1997-10-201-1/+4
| | | | | | reporting a "crash". Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
* Pass optional arguments (globals(), locals(), []) to __import__() soGuido van Rossum1997-09-071-1/+1
| | | | | | | it will run as package test, e.g. this will run the test suite: import test.regrtest test.regrtest.main()
* Change default verbosity so that there are only three levels left: -q,Guido van Rossum1997-08-181-12/+15
| | | | | | default and -v. In default mode, the name of each test is printed. -v is the same as the old -vv. -q is more quiet than the old default mode; that's fine I think.
* Don't call sys.exit() all over the place -- simply return the exitGuido van Rossum1997-08-141-4/+4
| | | | | status from main() and call sys.exit(main()) in the startup stub at the end of the file.
* Add flush() method to fake file.Guido van Rossum1997-07-171-0/+3
|
* Catch all exceptions in test modules.Guido van Rossum1997-07-161-0/+6
|
* Add "extra-verbose" mode, triggered by specifying two -v flags. InGuido van Rossum1997-03-071-4/+12
| | | | | this mode, all tests are run in verbose mode with their output to stdout. No comparing of output is done.
* New regression test harness. See usage message / doc string.Guido van Rossum1996-12-201-0/+170