From: Fred Drake Date: Mon, 21 Aug 2000 16:55:57 +0000 (+0000) Subject: Add TestSkipped as another interesting item defined by test_support. X-Git-Tag: v2.0b1~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62c53ddabef25f3dd4fa2019ee998a3f4189a3bd;p=thirdparty%2FPython%2Fcpython.git Add TestSkipped as another interesting item defined by test_support. --- diff --git a/Lib/test/README b/Lib/test/README index 94b1964b0dcd..ae39d27c91a0 100644 --- a/Lib/test/README +++ b/Lib/test/README @@ -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.