python (3.12.0)
̑eY F d dl Z d dlZd dlZd dlZddlmZ G d de Zy) N )TestCasec e Zd Zd fd Zd Zd Zd Zd Zd Zd Z d Z
d Zd
Zd Z
d Zd
Zd fd Z fdZd Z xZS )IsolatedAsyncioTestCasec d t | | d | _ t j | _ y N)super__init___asyncioRunnercontextvarscopy_context_asyncioTestContext)self
methodName __class__s G/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/unittest/async_case.pyr
z IsolatedAsyncioTestCase.__init__# s)
$"#.#;#;#= c K y wr r s r
asyncSetUpz"IsolatedAsyncioTestCase.asyncSetUp( c K y wr r r s r
asyncTearDownz%IsolatedAsyncioTestCase.asyncTearDown+ r r c 0 | j |g|i | y r )
addCleanupr funcargskwargss r addAsyncCleanupz'IsolatedAsyncioTestCase.addAsyncCleanup. s $1&1r c K t | } |j }|j } || d{ }| j ||ddd |S # t $ r( t d|j
d|j d dw xY w7 Ow)zEnters the supplied asynchronous context manager.
If successful, also adds its __aexit__ method as a cleanup
function and returns the result of the __aenter__ method.
'.zC' object does not support the asynchronous context manager protocolN)type
__aenter__ __aexit__AttributeError TypeError
__module____qualname__r"