eJSSKrSSKrSSKrSSKrSSKJr Sr"SS\5rg)N)TestCaseTc^\rSrSrSrSU4SjjrSrSrSrSr Sr S r S r S r S rS rSrSrSU4SjjrU4SjrSrSrU=r$)IsolatedAsyncioTestCase Ncf>[TU]U5 SUl[R"5UlgN)super__init___asyncioRunner contextvars copy_context_asyncioTestContext)self methodName __class__s 9/opt/imh/python3.13/lib/python3.13/unittest/async_case.pyr IsolatedAsyncioTestCase.__init__'s) $"#.#;#;#= c # g7fr rs r asyncSetUp"IsolatedAsyncioTestCase.asyncSetUp, c # g7fr rrs r asyncTearDown%IsolatedAsyncioTestCase.asyncTearDown/rrc0UR"U/UQ70UD6 gr ) addCleanuprfuncargskwargss raddAsyncCleanup'IsolatedAsyncioTestCase.addAsyncCleanup2s $1&1rc # [U5nURnURnU"U5IShvN nURXASSS5 U$![a( [ SUR SUR S35Sef=fNO7f)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&)rcmclsenterexitresults renterAsyncContext)IsolatedAsyncioTestCase.enterAsyncContextAs2h 'NNE==D Ry TtT48  'a/q1A1A0BCTU"& ' '!s% BA BBB 2A??BcURR5 URRUR5 UR UR 5 gr )r get_looprrunsetUp _callAsyncrrs r _callSetUp"IsolatedAsyncioTestCase._callSetUpUs> $$&   $$TZZ0 (rcfURU5b[R"SUS3[SS9 gg)NzFIt is deprecated to return a value that is not None from a test case ()) stacklevel)_callMaybeAsyncwarningswarnDeprecationWarning)rmethods r_callTestMethod'IsolatedAsyncioTestCase._callTestMethod]s<    ' 3 MM((.xq23ERS U 4rcURUR5 URRUR5 gr )r=rrr;tearDownrs r _callTearDown%IsolatedAsyncioTestCase._callTearDownbs, **+   $$T]]3rc0UR"U/UQ70UD6 gr )rD)rfunctionr$r%s r _callCleanup$IsolatedAsyncioTestCase._callCleanupfs X777rcURcS5e[R"U5(d U<S35eURRU"U0UD6URS9$)N!asyncio runner is not initializedz is not an async functioncontextr inspectiscoroutinefunctionr;rr"s rr="IsolatedAsyncioTestCase._callAsyncisr"".S0SS.**400VTHUR5 [TU] U5UR5 $!UR5 f=fr )rdr r;rh)rr6rs rr;IsolatedAsyncioTestCase.runs9   " *7;v&  ' ' )D ' ' )s 2Acb>UR5 [TU] 5 UR5 gr )rdr r^rh)rrs rr^IsolatedAsyncioTestCase.debugs$   "   ##%rc@URbUR5 ggr )r rhrs r__del__IsolatedAsyncioTestCase.__del__s    *  ' ' ) +r)r r)runTestr )__name__r0r1__firstlineno__r_r rrr&r7r>rIrMrQr=rDrdrhr;r^ro__static_attributes__ __classcell__)rs@rrr sa6L>    2()U 48 G% *& **rr)r`r rXrEcaser __unittestrrrrrxs'  H*hH*r