Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62c53dd

Browse files
committed
Add TestSkipped as another interesting item defined by test_support.
1 parent 45ab2b6 commit 62c53dd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/test/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ provides the following useful objects:
145145
* TestFailed - raise this exception when your regression test detects a
146146
failure.
147147

148+
* TestSkipped - raise this if the test could not be run because the
149+
platform doesn't offer all the required facilities (like large
150+
file support), even if all the required modules are available.
151+
148152
* findfile(file) - you can call this function to locate a file somewhere
149153
along sys.path or in the Lib/test tree - see test_linuxaudiodev.py for
150154
an example of its use.

0 commit comments

Comments
 (0)