Add TestSkipped as another interesting item defined by test_support.

This commit is contained in:
Fred Drake 2000-08-21 16:55:57 +00:00
parent 45ab2b65f6
commit 62c53ddabe
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ provides the following useful objects:
* TestFailed - raise this exception when your regression test detects a
failure.
* TestSkipped - raise this if the test could not be run because the
platform doesn't offer all the required facilities (like large
file support), even if all the required modules are available.
* findfile(file) - you can call this function to locate a file somewhere
along sys.path or in the Lib/test tree - see test_linuxaudiodev.py for
an example of its use.