nose: nose.failure
Classes
Highlighted methods are defined in this class.
Methods
Return a version of sys.exc_info() with the traceback frame minimised; usually the top level of the traceback frame is not needed.
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are unequal as determined by the '==' operator.
Fail if the two objects are unequal as determined by the '==' operator.
Fail the test if the expression is true.
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are equal as determined by the '==' operator.
Fail if the two objects are equal as determined by the '==' operator.
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. If a different type of exception is thrown, it will not be caught, and the test case will be deemed to have suffered an error, exactly as for an unexpected exception.
Fail the test unless the expression is true.
Fail the test unless the expression is true.
Run the test without collecting errors in a TestResult
Fail immediately, with the given message.
Fail the test if the expression is true.
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are equal as determined by the '==' operator.
Fail the test unless the expression is true.
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).
Fail if the two objects are unequal as determined by the '==' operator.
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. If a different type of exception is thrown, it will not be caught, and the test case will be deemed to have suffered an error, exactly as for an unexpected exception.
Hook method for setting up the test fixture before exercising it.
Returns a one-line description of the test, or None if no description has been provided.
The default implementation of this method returns the first line of the specified test method's docstring.
Hook method for deconstructing the test fixture after testing it.