PyDocs

Nav

Development Tools

IsolatedAsyncioTestCase.enterAsyncContext

unittest

async method of IsolatedAsyncioTestCase · Added in 3.11 (source)
  • IsolatedAsyncioTestCase.enterAsyncContext(cm)
Enters the supplied asynchronous context manager.

If successful, also adds its __aexit__ method as a cleanup
function and returns the result of the __aenter__ method.
0 Examples
No examples for unittest/IsolatedAsyncioTestCase.enterAsyncContext.
See Also
No see-alsos for unittest/IsolatedAsyncioTestCase.enterAsyncContext
0 Notes
No notes for IsolatedAsyncioTestCase.enterAsyncContext