Sindbad~EG File Manager
�
*ΜgdA��:�ddlZddlZddlZddlmZej
d��Gd�de�Zd�ZGd�d �Z Gd
�d�Z
Gd�d
�ZGd�d�Zejdd��ZGd�dej�Zedk(rej$�yy)�N)�supportT)�modulec��eZdZy)�MyExceptionN��__name__�
__module__�__qualname__���?/usr/local/lib/python3.12/test/test_unittest/test_async_case.pyrr ���rrc�.�tjd�y�N)�asyncio�set_event_loop_policyrrr
�tearDownModuler
s���!�!�$�'rc� �eZdZdd�Zd�Zd�Zy)�TestCMNc� �||_||_yr)�ordering�enter_result)�selfrrs r
�__init__zTestCM.__init__s�� ��
�(��rc��XK�|jjd�|jS�w)N�enter)r�appendr�rs r
�
__aenter__zTestCM.__aenter__s$�����
�
���W�%�� � � �s�(*c��BK�|jjd�y�w)N�exit)rr�r�exc_infos r
� __aexit__zTestCM.__aexit__s�����
�
���V�$�s�r)rr r
rrr$rrr
rrs��)�!�%rrc��eZdZy)�LacksEnterAndExitNrrrr
r&r&rrr&c��eZdZd�Zy)�
LacksEnterc��K�y�wrrr"s r
r$zLacksEnter.__aexit__!� �������N)rr r
r$rrr
r(r( ���
rr(c��eZdZd�Zy)� LacksExitc��K�y�wrrrs r
rzLacksExit.__aenter__$r*r+N)rr r
rrrr
r.r.#r,rr.�VARr)�defaultc�d�eZdZdZd�Zd�Zd�Zd�Zd�Zd�Z d�Z
d �Zd
�Zd�Z
d�Zd
�Zd�Zd�Zy)�
TestAsyncCaseNc�B�|jtj�yr)�
addCleanupr�
gc_collectrs r
�setUpzTestAsyncCase.setUp.s��
����*�*�+rc�Z����gd��G���fd�dtj�}g�d�|d�}|j�}|j|jg�|j|j
g�|j���|j�t
���g�d�|d�}|j�|j���|j�t
���|j�|j���|j�t
���y)N)r7�
asyncSetUp�test�
asyncTearDown�tearDown�cleanup6�cleanup5�cleanup4�cleanup3�cleanup2�cleanup1c���eZdZ�fd�Z��fd�Z��fd�Z��fd�Z��fd�Z���fd�Z��fd�Z ��fd�Z
��fd �Z��fd
�Z��fd�Z
y)
�+TestAsyncCase.test_full_cycle.<locals>.Testc���|j�g��jd�tjtj �dz�|j|j�|j|j�y)Nr7)r7) �assertEqualrr0�set�getr5�on_cleanup1�addAsyncCleanup�on_cleanup2�r�eventss �r
r7z1TestAsyncCase.test_full_cycle.<locals>.Test.setUp@s\���� � ���,��
�
�g�&������� �J�.�/����� 0� 0�1��$�$�T�%5�%5�6rc���K�|j��dd��jd�tjtj �dz�|j|j�|j|j�y�w)N�r9)r9) rFrr0rGrHr5�on_cleanup3rJ�on_cleanup4�rrM�expecteds ��r
r9z6TestAsyncCase.test_full_cycle.<locals>.Test.asyncSetUpGsf������ � ���"�1��6��
�
�l�+������� �O�3�4����� 0� 0�1��$�$�T�%5�%5�6���BBc���K�|j��dd��jd�tjtj �dz�|j|j�|j|j�y�w)N�r:)r:) rFrr0rGrHr5�on_cleanup5rJ�on_cleanup6rRs ��r
� test_funcz5TestAsyncCase.test_full_cycle.<locals>.Test.test_funcNsf������ � ���"�1��6��
�
�f�%������� �I�-�.����� 0� 0�1��$�$�T�%5�%5�6�rTc���K�|j��dd�tjtj�dz��j d�y�w)N�)r;r;)rFr0rGrHrrRs ��r
r;z9TestAsyncCase.test_full_cycle.<locals>.Test.asyncTearDownUsA������ � ���"�1��6������� �$6�6�7��
�
�o�.���AAc���|j��dd��jd�tjtj �dz�y)N�r<)r<�rFrr0rGrHrRs ��r
r<z4TestAsyncCase.test_full_cycle.<locals>.Test.tearDownZ�<���� � ���"�1��6��
�
�j�)������� �M�1�2rc����|j��dd��jd�tjtj �dz�tj ��y)N�
rB)rBr_)r�cvarrMrSs ���r
rIz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup1_sG���� � ���#�2��7��
�
�j�)������� �M�1�2��w�w�y�rc���K�|j��dd��jd�tjtj �dz�y�w)N� rA)rAr_rRs ��r
rKz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup2f�@������ � ���"�1��6��
�
�j�)������� �M�1�2�r\c���|j��dd��jd�tjtj �dz�y)N�r@)r@r_rRs ��r
rPz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup3kr`rc���K�|j��dd��jd�tjtj �dz�y�w)N�r?)r?r_rRs ��r
rQz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup4prfr\c���|j��dd��jd�tjtj �dz�y)N�r>)r>r_rRs ��r
rWz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup5ur`rc���K�|j��dd��jd�tjtj �dz�y�w)N�r=)r=r_rRs ��r
rXz7TestAsyncCase.test_full_cycle.<locals>.Test.on_cleanup6zrfr\N)rr r
r7r9rYr;r<rIrKrPrQrWrX)rcrMrSs���r
�TestrD?s:���
7�
7�
7�
/�
3�
!�
3�
3�
3�
3�
3rrorrY) �unittest�IsolatedAsyncioTestCase�runrF�errors�failures�tuple�debug�
doCleanups)rror:�resultrcrMrSs @@@r
�test_full_cyclezTestAsyncCase.test_full_cycle3s����
��> 3�> 3�8�3�3�> 3�@�����K� ��������������+�������"�-������*�����u�X��/������K� ���
�
�������*�����u�X��/����������*�����u�X��/rc�:��G�fd�dtj�}g�|d�}|j�}|j�ddg�|j |j
dd|�|j
d|j
dd�g�|d�}|j|j� |j�|jd �|j�dg�|j�|j�ddg�y#t$rY�CwxYw)
Nc�6��eZdZ�fd�Z�fd�Z�fd�Z�fd�Zy)�3TestAsyncCase.test_exception_in_setup.<locals>.Testc��x�K��jd�|j|j�t���w�Nr9�rrJ�
on_cleanuprrLs �r
r9z>TestAsyncCase.test_exception_in_setup.<locals>.Test.asyncSetUp�s-������
�
�l�+��$�$�T�_�_�5�!�m�#���7:c��0�K��jd�y�w�Nr:�rrLs �r
rYz=TestAsyncCase.test_exception_in_setup.<locals>.Test.test_func�s������
�
�f�%���c��0�K��jd�y�w�Nr;r�rLs �r
r;zATestAsyncCase.test_exception_in_setup.<locals>.Test.asyncTearDown��������
�
�o�.�r�c��0�K��jd�y�w�N�cleanupr�rLs �r
r�z>TestAsyncCase.test_exception_in_setup.<locals>.Test.on_cleanup��������
�
�i�(�r�N�rr r
r9rYr;r��rMs�r
ror|�s���
$�
&�
/�
)rrorYr9r�rrrO� Expected a MyException exception�
rprqrrrF�assertIsrs�assertInr5�_tearDownAsyncioRunnerrv�failrrw�rror:rxrMs @r
�test_exception_in_setupz%TestAsyncCase.test_exception_in_setup�s���
)�8�3�3�
)� ���K� �����������,� �!:�;��
�
�f�m�m�A�&�q�)�4�0��
�
�m�V�]�]�1�%5�a�%8�9����K� ������3�3�4� :��J�J�L�
�I�I�8�9�����,��0���������,� �!:�;��
� �� �s�5D� D�Dc�<��G�fd�dtj�}g�|d�}|j�}|j�gd��|j |j
dd|�|j
d|j
dd�g�|d�}|j|j� |j�|jd�|j�d d
g�|j�|j�gd��y#t$rY�DwxYw)Nc�6��eZdZ�fd�Z�fd�Z�fd�Z�fd�Zy)�2TestAsyncCase.test_exception_in_test.<locals>.Testc��0�K��jd�y�wr~r�rLs �r
r9z=TestAsyncCase.test_exception_in_test.<locals>.Test.asyncSetUp��������
�
�l�+�r�c��x�K��jd�|j|j�t���wr�rrLs �r
rYz<TestAsyncCase.test_exception_in_test.<locals>.Test.test_func�s-������
�
�f�%��$�$�T�_�_�5�!�m�#�r�c��0�K��jd�y�wr�r�rLs �r
r;z@TestAsyncCase.test_exception_in_test.<locals>.Test.asyncTearDown�r�r�c��0�K��jd�y�wr�r�rLs �r
r�z=TestAsyncCase.test_exception_in_test.<locals>.Test.on_cleanup�r�r�Nr�r�s�r
ror��s���
,�
$�
/�
)rrorY�r9r:r;r�rrrOr�r9r:�r9r:r�r�r�s @r
�test_exception_in_testz$TestAsyncCase.test_exception_in_test�s����
)�8�3�3�
)����K� �����������!S�T��
�
�f�m�m�A�&�q�)�4�0��
�
�m�V�]�]�1�%5�a�%8�9����K� ������3�3�4� :��J�J�L�
�I�I�8�9�����,��!7�8���������!B�C��
� �� ���5D� D�Dc�<��G�fd�dtj�}g�|d�}|j�}|j�gd��|j |j
dd|�|j
d|j
dd�g�|d�}|j|j� |j�|jd�|j�gd ��|j�|j�gd��y#t$rY�DwxYw)
Nc�6��eZdZ�fd�Z�fd�Z�fd�Z�fd�Zy)�7TestAsyncCase.test_exception_in_tear_down.<locals>.Testc��0�K��jd�y�wr~r�rLs �r
r9zBTestAsyncCase.test_exception_in_tear_down.<locals>.Test.asyncSetUp�r�r�c��f�K��jd�|j|j�y�wr�)rrJr�rLs �r
rYzATestAsyncCase.test_exception_in_tear_down.<locals>.Test.test_func�s%������
�
�f�%��$�$�T�_�_�5�s�.1c��B�K��jd�t���wr��rrrLs �r
r;zETestAsyncCase.test_exception_in_tear_down.<locals>.Test.asyncTearDown�s������
�
�o�.�!�m�#���c��0�K��jd�y�wr�r�rLs �r
r�zBTestAsyncCase.test_exception_in_tear_down.<locals>.Test.on_cleanup�r�r�Nr�r�s�r
ror��s���
,�
6�
$�
)rrorYr�rrrOr�)r9r:r;r�r�s @r
�test_exception_in_tear_downz)TestAsyncCase.test_exception_in_tear_down�s����
)�8�3�3�
)����K� �����������!S�T��
�
�f�m�m�A�&�q�)�4�0��
�
�m�V�]�]�1�%5�a�%8�9����K� ������3�3�4� :��J�J�L�
�I�I�8�9�����!H�I���������!S�T��
� �� �r�c���G�fd�dtj�}g�|d�}|j�}|j�gd��|j |j
dd|�|j
d|j
dd�|j
d|j
dd�g�|d�}|j|j� |j�|jd �|j�gd
��|j�|j�gd��y#t$rY�DwxYw)Nc�@��eZdZ�fd�Z�fd�Z�fd�Z�fd�Z�fd�Zy)�;TestAsyncCase.test_exception_in_tear_clean_up.<locals>.Testc��0�K��jd�y�wr~r�rLs �r
r9zFTestAsyncCase.test_exception_in_tear_clean_up.<locals>.Test.asyncSetUpr�r�c���K��jd�|j|j�|j|j�y�wr�)rrJrIrKrLs �r
rYzETestAsyncCase.test_exception_in_tear_clean_up.<locals>.Test.test_funcs;������
�
�f�%��$�$�T�%5�%5�6��$�$�T�%5�%5�6�s�A Ac��0�K��jd�y�wr�r�rLs �r
r;zITestAsyncCase.test_exception_in_tear_clean_up.<locals>.Test.asyncTearDown r�r�c��D�K��jd�td���w)NrBz
some errorr�rLs �r
rIzGTestAsyncCase.test_exception_in_tear_clean_up.<locals>.Test.on_cleanup1s������
�
�j�)�!�,�/�/��� c��D�K��jd�td���w)NrAzother errorr�rLs �r
rKzGTestAsyncCase.test_exception_in_tear_clean_up.<locals>.Test.on_cleanup2s������
�
�j�)�!�-�0�0�r�N)rr r
r9rYr;rIrKr�s�r
ror�s���
,�
7�
/�
0�
1rrorY)r9r:r;rArBrzMyException: other errorrOzMyException: some errorr�)r9r:r;rAr�r�s @r
�test_exception_in_tear_clean_upz-TestAsyncCase.test_exception_in_tear_clean_up�s��� 1�8�3�3� 1�(���K� �����������!`�a��
�
�f�m�m�A�&�q�)�4�0��
�
�0�&�-�-��2B�1�2E�F��
�
�/����q�1A�!�1D�E����K� ������3�3�4� :��J�J�L�
�I�I�8�9�����!T�U���������!`�a��
� �� �s�D1�1 D=�<D=c�P��Gd�d��G�fd�dtj�}|jt�5}|d�j �ddd�|jdt
j��|jdt
|j��|j|jt�|jt�5}|d�j �ddd�|jdt
|j��|jdt
|j��|j|jt�|jt�5}|d�j �ddd�|jdt
|j��|jdt
|j��|j|jt�y#1swY���xYw#1swY�� xYw#1swY��xYw) Nc��eZdZd�Zy)�GTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Nothingc�
�|duSrr)r�os r
�__eq__zNTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Nothing.__eq__,s���D�y� rN)rr r
r�rrr
�Nothingr�+s��
!rr�c�$��eZdZd�Zd�Z�fd�Zy)�DTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Testc��K�y�w�NrOrrs r
�test1zJTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Test.test1/s �����r+c�K�d���y�wr�rrs r
�test2zJTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Test.test21s������s� c���K���S�wrr)rr�s �r
�test3zJTestAsyncCase.test_deprecation_of_return_val_from_test.<locals>.Test.test33s������y� �s�N)rr r
r�r�r�)r�s�r
ror�.s���
�
�
!rror�z3It is deprecated to return a value that is not Noner�r�)rprq�assertWarns�DeprecationWarningrrr��str�warningrF�filename�__file__)rro�wr�s @r
�(test_deprecation_of_return_val_from_testz6TestAsyncCase.test_deprecation_of_return_val_from_test)sz��� !� !� !�8�3�3� !��
�
�0�
1�Q���M����2��
�
�K�S�QR�QZ�QZ�^�\��
�
�g�s�1�9�9�~�.�������X�.�
�
�
�0�
1�Q���M����2��
�
�K�S�QR�QZ�QZ�^�\��
�
�g�s�1�9�9�~�.�������X�.�
�
�
�0�
1�Q���M����2��
�
�K�S�QR�QZ�QZ�^�\��
�
�g�s�1�9�9�~�.�������X�.�!2�
1��2�
1��2�
1�s#�H�H�8H�H�H�H%c���g�G�fd�dtj�}|d�}|j�|j�gd��y)Nc�(��eZdZd�Z�fd�Z�fd�Zy)�:TestAsyncCase.test_cleanups_interleave_order.<locals>.Testc���K�|j|jd�|j|jd�|j|jd�|j|jd�y�w)NrOrVr[r^)rJ�on_sync_cleanup�on_async_cleanuprs r
rYzDTestAsyncCase.test_cleanups_interleave_order.<locals>.Test.test_funcLs^�����$�$�T�%9�%9�1�=��$�$�T�%:�%:�A�>��$�$�T�%9�%9�1�=��$�$�T�%:�%:�A�>�s�A2A4c��6�K��jd|���y�w)Nz
sync_cleanup r��r�valrMs �r
r�zJTestAsyncCase.test_cleanups_interleave_order.<locals>.Test.on_sync_cleanupRs������
�
�
�c�U�3�4���c��6�K��jd|���y�w)Nzasync_cleanup r�r�s �r
r�zKTestAsyncCase.test_cleanups_interleave_order.<locals>.Test.on_async_cleanupUs������
�
��s�e�4�5�r�N)rr r
rYr�r�r�s�r
ror�Ks���
?�
5�
6rrorY)zasync_cleanup 4zsync_cleanup 3zasync_cleanup 2zsync_cleanup 1)rprqrrrF)rror:rMs @r
�test_cleanups_interleave_orderz,TestAsyncCase.test_cleanups_interleave_orderHsD����� 6�8�3�3� 6��K� �����
�����"4� 5rc�t��g�G�fd�dtj�}|d�}|j�}|j|j ��|d�}|j�|j�ddg�|d�}|j�}|j|j ��y)Nc�(��eZdZ�fd�Z�fd�Zd�Zy)�ATestAsyncCase.test_base_exception_from_async_method.<locals>.Testc��B�K��jd�t���w)N� test_base)r�
BaseExceptionrLs �r
r�zKTestAsyncCase.test_base_exception_from_async_method.<locals>.Test.test_basebs������
�
�k�*�#�o�%�r�c��0�K��jd�y�w)N�test_no_errr�rLs �r
r�zMTestAsyncCase.test_base_exception_from_async_method.<locals>.Test.test_no_errgs������
�
�m�,�r�c��2K�tj���wr)r�CancelledErrorrs r
�test_cancelzMTestAsyncCase.test_base_exception_from_async_method.<locals>.Test.test_canceljs�����,�,�.�.�s�N)rr r
r�r�r�r�s�r
ror�as���
(�
-�
/rror�r�r�)rprqrr�assertFalse�
wasSuccessfulrF�rror:�outputrMs @r
�%test_base_exception_from_async_methodz3TestAsyncCase.test_base_exception_from_async_method_s������
/�8�3�3�
/��K� �����������-�-�/�0��M�"�����
�����+�}�!=�>��M�"�����������-�-�/�0rc���d�G�fd�dtj�}|d�}|j�}|j��y)NFc���eZdZ�fd�Zy)�;TestAsyncCase.test_cancellation_hanging_tasks.<locals>.Testc��L�K��fd�}tj|��y�w)Nc���K� tjd��d{���y7�#tj$rd��wxYw�w)NrOT)r�sleepr��� cancelleds�r
�coroz[TestAsyncCase.test_cancellation_hanging_tasks.<locals>.Test.test_leaking_task.<locals>.coro}s:������%�m�m�A�.�.�.��"�1�1��$(� ���s �?�%�#�%�?�%�<�?)r�create_task)rr�r�s �r
�test_leaking_taskzMTestAsyncCase.test_cancellation_hanging_tasks.<locals>.Test.test_leaking_task|s�������#�#�D�F�+�s�!$N)rr r
r�r�s�r
ror�{s���
,rror�)rprqrr�
assertTrue)rror:r�r�s @r
�test_cancellation_hanging_tasksz-TestAsyncCase.test_cancellation_hanging_tasksys>���� � ,�8�3�3� ,��'�(���������� �"rc�����g�G��fd�dtj�}|d�}|j�}�j|j �|��j�gd��y)Nc���eZdZ��fd�Zy)�2TestAsyncCase.test_enterAsyncContext.<locals>.Testc���K�|j�jd�t�d�}�j|j |��d{���d�|j�jd��jd�y7�7�w)NrB�*rAr:)rJrrrF�enterAsyncContext)�slf�cmrMrs ��r
rYz<TestAsyncCase.test_enterAsyncContext.<locals>.Test.test_func�sk������#�#�F�M�M�:�>��F�B�'��� � �s�'<�'<�R�'@�!@�"�E��#�#�F�M�M�:�>��
�
�f�%�"A�s�AB�B�8BN�rr r
rY)rMrs��r
ror��s���
&rrorY)rr:rAr!rB)rprqrrr�r�rFr�s` @r
�test_enterAsyncContextz$TestAsyncCase.test_enterAsyncContext�sY����� &�8�3�3� &��K� �����������,�,�.��7�����!R�Src���G�fd�dtj�}|d�}|j�}�j|j ��y)Nc���eZdZ�fd�Zy)�=TestAsyncCase.test_enterAsyncContext_arg_errors.<locals>.Testc����K��jtd�5|jt���d{���ddd��jtd�5|jt ���d{���ddd��jtd�5|jt���d{���ddd�y7��#1swY��xYw7�[#1swY�ZxYw7�)#1swYyxYw�w)Nzasynchronous context manager)�assertRaisesRegex� TypeErrorr�r&r(r.)r�rs �r
rYzGTestAsyncCase.test_enterAsyncContext_arg_errors.<locals>.Test.test_func�s�������+�+�I�7U�V��/�/�0A�0C�D�D�D�W��+�+�I�7U�V��/�/�
��=�=�=�W��+�+�I�7U�V��/�/� ��<�<�<�W�V�E��W�V��>��W�V��=��W�V�s�C/�C�C�C�C/�C�7C�8C�<C/�C#�7C!�8C#�< C/�C�C�C/�C�C�C/�!C#�#C,�(C/Nrrs�r
ror�s���
=rrorY)rprqrrr�r�)rror:r�s` r
�!test_enterAsyncContext_arg_errorsz/TestAsyncCase.test_enterAsyncContext_arg_errors�sA��� =�8�3�3� =��K� �����������,�,�.�/rc���G�fd�dtj�}g�|d�}|j�}|j�gd��|j d|j
dd�g�|d�}|j
|j� |j�|jd�|j�d d
g�|j�|j�gd��y#t$rY�DwxYw)Nc�6��eZdZ�fd�Z�fd�Z�fd�Z�fd�Zy)�8TestAsyncCase.test_debug_cleanup_same_loop.<locals>.Testc���K�d�}tj|��}|j|j|��j d�y�w)Nc��JK�tjd��d{���y7��w)Nr)rr�rrr
r�zQTestAsyncCase.test_debug_cleanup_same_loop.<locals>.Test.asyncSetUp.<locals>.coro�s����!�-�-��*�*�*�s�#�!�#r9)r�
ensure_futurerJr�r)rr��futrMs �r
r9zCTestAsyncCase.test_debug_cleanup_same_loop.<locals>.Test.asyncSetUp�s>�����+��+�+�D�F�3���$�$�T�\�\�3�7��
�
�l�+�s�AAc��B�K��jd�t���wr�r�rLs �r
rYzBTestAsyncCase.test_debug_cleanup_same_loop.<locals>.Test.test_func�s������
�
�f�%�!�m�#�r�c��0�K��jd�y�wr�r�rLs �r
r;zFTestAsyncCase.test_debug_cleanup_same_loop.<locals>.Test.asyncTearDown�r�r�c���K� tj|g��d{����jd�y7�#ddl}|j ��xYw�w)Nr�r)r�waitr� traceback� print_exc)rrrrMs �r
r�z@TestAsyncCase.test_debug_cleanup_same_loop.<locals>.Test.cleanup�sI������!�,�,��u�-�-�-��M�M�)�,�.���$��'�'�)��s%�A�7�5�7�A�7�A�AN)rr r
r9rYr;r�r�s�r
ror�s���
,�
$�
/�
rrorYr�rrrOr�r9r:r�)rprqrrrFr�rsr5r�rvr�rrwr�s @r
�test_debug_cleanup_same_loopz*TestAsyncCase.test_debug_cleanup_same_loop�s���� �8�3�3� �2���K� �����������!S�T��
�
�m�V�]�]�1�%5�a�%8�9����K� ������3�3�4� :��J�J�L�
�I�I�8�9�����,��!7�8���������!B�C��
� �� �s�C-�- C9�8C9c���tjd�Gd�dtj�}|d�}|j �}|j|j
��y)Nc��eZdZd�Zd�Zy)�:TestAsyncCase.test_setup_get_event_loop.<locals>.TestCase1c�H�tj�j�yr)r�get_event_loop_policy�get_event_looprs r
r7z@TestAsyncCase.test_setup_get_event_loop.<locals>.TestCase1.setUp�s���-�-�/�>�>�@rc��K�y�wrrrs r
�
test_demo1zETestAsyncCase.test_setup_get_event_loop.<locals>.TestCase1.test_demo1�s �����r+N)rr r
r7rrrr
� TestCase1r�s
��
A�
rrr)r�set_event_looprprqrrr�r�)rrr:rxs r
�test_setup_get_event_loopz'TestAsyncCase.test_setup_get_event_loop�sP�� ���t�$� ��8�8� ���&�����������,�,�.�/r)rr r
�maxDiffr7ryr�r�r�r�r�r�r�r�rrrr!rrr
r3r3+sY���G�,�
]0�~#<�J"D�H"U�H(b�T/�>5�.1�4#�&T� 0�+D�Z0rr3�__main__)r�contextvarsrpr:r�requires_working_socket� Exceptionrrrr&r(r.�
ContextVarr0�TestCaser3r�mainrrr
�<module>r*s�����������t�,� �)� �(�
%�
%� � �
�
�
�
�
�k���U�B�/��z0�H�%�%�z0�x
�z���H�M�M�O�r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists