mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
Add TestSkipped as another interesting item defined by test_support.
This commit is contained in:
parent
45ab2b65f6
commit
62c53ddabe
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue