Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | test.Test --+ | BaseExceptionTest --+ | ExceptionTest
Check that the specified Python code raises an exception.
An 'ExceptionTest' checks that the specified Python code raises a particular exception. The test passes if the exception is an instance of the expected class and (optionally) if its value matches the expected value. If the code fails to raise an exception, the test fails.
|
|||
Inherited from Inherited from Inherited from |
|
|||
MakeResult(self,
exc_info,
result)
Check the exception in 'exc_info' and construct the result. |
|||
CheckArgument(self,
exc_info,
result)
Check that the exception argument matches expectations. |
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments | |||
_argument_dictionary | |||
_argument_list | |||
exception_class | |||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Check the exception in 'exc_info' and construct the result. 'result' -- The result object for this test.
|
Check that the exception argument matches expectations. 'result' -- The result object for this test.
|
|
arguments
|
_argument_dictionary
|
_argument_list
|
exception_class
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:32 2007 | http://epydoc.sf.net |