module documentation
Tests for twisted.internet.inlineCallbacks
.
Class |
|
This test suite tests basic use cases of inlineCallbacks . For more complex tests see e.g. StackedInlineCallbacksTests. |
Class |
|
Tests for cancellation of Deferred s returned by inlineCallbacks . For each of these tests, let: |
Class |
|
Undocumented |
Class |
|
No class docstring; 5/5 methods documented |
Class |
|
It's possible for returnValue to be (accidentally) invoked at a stack level below the inlineCallbacks -decorated function which it is exiting. If this happens, returnValue should report useful errors. |
Class |
|
We have an optimization that invokes generators directly when an inlineCallbacks-decorated function yields value directly to yield of another inlineCallbacks-decorated function. |
Class |
|
On Python 3.4 and newer generator functions may use the return statement with a value, which is attached to the StopIteration exception that is raised. |
Exception |
|
Sample exception type. |
Exception |
|
Just a specific exception type for use in inlineCallbacks tests in this file. |
Exception |
|
Translated exception type when testing an exception translation. |
Exception |
|
Untranslated exception type when testing an exception translation. |
Function | get |
Make a Failure of a divide-by-zero error. |
Async Function | get |
Make a coroutine that throws a divide-by-zero error. |
Async Function | get |
Undocumented |
Function | get |
Undocumented |