Lines Matching refs:raised
213 Exception to be raised when a test fails. This is deprecated in favor of
268 argument to :exc:`ResourceDenied` if it is raised. Always returns
300 easier to test that a warning was correctly raised. It is approximately
309 must match at least one of the warnings raised by the enclosed code or the
310 test fails, and if any warnings are raised that do not match any of the
318 In this case all warnings are caught and no errors are raised.
325 the recorder object (see example below). If no warning has been raised,
339 In this case if either warning was not raised, or some other warning was
340 raised, :func:`check_warnings` would raise an error.
366 If ``sys.py3kwarning == 1``, it checks if the warning is effectively raised.
367 If ``sys.py3kwarning == 0``, it checks that no warning is raised. It
446 specified exception type is raised. Any keyword arguments are treated as
447 attribute/value pairs to be compared against any exception raised within the
449 attributes on the exception is :exc:`ResourceDenied` raised.