| |
- check_raises(*args, **kwargs)
- check_raises(exception_type, function, ...)
Calls function, passing in the rest of the positional arguments and keyword
arguments. If the function does not raise an exception, check_raises raises
an exception indicating that the specified function failed to do so. If the
function raises an exception not of the specified exception_type (which can
be a tuple of multiple types if desired), another exception is raised
indicating the problem. Otherwise, check_raises returns None.
- subclasses_in_module(c, modules=None, original=True)
|