403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_pkgutil.cpython-315.opt-1.pyc
R
>lqj�jc��]PHs]PHs]QHGs]QHGs]QHGs]PH s]PH$s	]PH(s
]QH,Gs]PH4s
]PH8s]PH<s]PH@s]PHDs]PHHs]QHGs]QHPGs]QHXGsQQ	\O02sQ
Q\O02sQQ
\O02sQQ\O02sQQ\O02sQs\Q6Xc\O@2P!P!)�)�Path)�unload)�check_warnings)�spec_from_file_location)�
DirsOnSysPath)�FakePath)�uncachec�p`�\sQs]snQsQsQsQsQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsUsP!)�PkgutilTestsc���[O2UmUO[O
UO2[OO]UO2P!�r)	�tempfile�mkdtemp�dirname�
addCleanup�shutil�rmtree�sys�path�insert��selfs&�&C:\Python315\\Lib\test\test_pkgutil.py�setUp�PkgutilTests.setUps>���'�'�)�������
�
�t�|�|�4�������4�<�<�(�c�*�[O]P!r)rrrs&r�tearDown�PkgutilTests.tearDown"s
���H�H�Q�Krc�\�QoQo[OOUOU2o[OU2[[OOUQ2Q2oUO
2[[OOUQ2Q2oUOU2UO
2[O[OOUQ22[[OOUQQ2Q2oUOU2UO
2[OUQ2oUOVR2[OUQ2oUOVb2[OUP!)�test_getdata_filesys�%Hello, world!
Second line
Third line�__init__.py�wb�res.txt�sub�sub/res.txt)
�osr�joinr�mkdir�open�close�write�pkgutil�get_data�assertEqualr�modules)r�pkg�
RESOURCE_DATA�package_dir�f�res1�res2s&      rr �!PkgutilTests.test_getdata_filesys%s$��$��D�
��g�g�l�l�4�<�<��5��
�����������k�=�9�4�@��	���	�������k�9�5�t�<��	���
��	���	�
��������k�5�1�2�������k�5�)�<�d�C��	���
��	���	�����Y�/������-�����]�3������-��K�K��rc�N�QoQoQo[OOUOU2o[O
UQ2oUO
UQ*P2UO
UQ*U2UO
UQ*U2UO2[OO]U2[OUQ2oUOVc2[OUQ2oUOVs2,o[OU,2FD>o	UOU	[O2UO!U	O"2J@	UOUQ,2[O][O$UP!)	�test_getdata_zipfile.zip�test_getdata_zipfiler!�w�/__init__.py�/res.txtz/sub/res.txtr$r&)r'rr(r�zipfile�ZipFile�writestrr+rrr-r.r/�iter_modules�assertIsInstance�
ModuleInfo�append�namer0)
r�zipr1r2�zip_file�zr5r6�names�
moduleinfos
&         rr:�!PkgutilTests.test_getdata_zipfileBsE��(��$��D�
��7�7�<�<����c�2���O�O�H�c�*��	
�
�
�3��'��,�	�
�
�3��#�]�3�	�
�
�3��'��7�	���	�	������8�$�����Y�/������-�����]�3������-���!�.�.��z�:�J��!�!�*�g�.@�.@�A��L�L����)�;�	
����!7� 8�9��H�H�Q�K��K�K��rc� �QoQoQo[OOUOU2o[O
UQ2oUO
UQ*P2UO
UQ*U2UO2[OO]U2[OUQ2oUOVc2,o[O[U2,2FD>oUOU[O 2UO#UO$2J@	UOVr,2[O][O&O)UP2Qo	UO+[,U	29^tt^2[/[OQ22PPP2P![O][O&O)SP2h9h)%fhP!9h)	r9r:r!r;r<r=r$z9path must be None or list of paths to look for modules in�invalid_path)r'rr(rr>r?r@r+rrr-r.r/rArrBrCrDrEr0�pop�assertRaisesRegex�
ValueError�list)
rrFr1r2rGrH�resrIrJ�expected_msgs
&         r�test_issue44061_iter_modules�)PkgutilTests.test_issue44061_iter_moduleses���(��$��D�
��7�7�<�<����c�2���O�O�H�c�*��	
�
�
�3��'��,�	�
�
�3��#�]�3�	���	�	������8�$�	'��"�"�3�	�2�C����S�0��E�%�2�2�H�X�4F�3G�H�
��%�%�j�'�2D�2D�E����Z�_�_�-�I�
���U�E�*�������K�K�O�O�C��&�S��
�
#�
#�J��
=�
=���%�%�n�5�6�>�
=��������K�K�O�O�C��&��>�
=�
=�s�,BG� G<�3G9�<H
	�H
	c�D�Qo[OOUOU2o[OU]2UO[OU2[OUO,Q5FDoUOQ2J	P!)�unreadable_package)rzunexpected package found)
r'rr(rr)r�rmdirr-�
walk_packages�fail)r�package_name�d�ts&   r�test_unreadable_dir_on_syspath�+PkgutilTests.test_unreadable_dir_on_syspath�sk��+���G�G�L�L����|�4��	����A��������!�$��&�&�T�\�\�N�;�;�A��I�I�0�1�<rc��Qo[OOUOU2o[OU2[[OOUQ2Q2oUO
2[O[OOUQ22[[OOUQQ2Q2oUO
2[[OOUQQ2Q2oUO
2Qo[OOUOU2o[OU2[[OOUQ2Q2oUO
2[O[OOUQ22[[OOUQQ2Q2oUO
2[[OOUQQ2Q2oUO
2,QNo[OUO,2Tt,tFDpw]*MJ
	ooUOV�2SFD-o	U	OQ2%cJ[OU	J/	P!ttoh)�test_walkpackages_filesysr"r#r%zmod.py�mod)r%zsub.test_walkpackages_filesysz!sub.test_walkpackages_filesys.modraztest_walkpackages_filesys.subz!test_walkpackages_filesys.sub.mod)
r'rr(rr)r*r+r-rYr/�endswithrr0)
r�pkg1�pkg1_dirr4�pkg2�pkg2_dir�expected�e�actualr1s
&         rra�&PkgutilTests.test_walkpackages_filesys�s���*���7�7�<�<����d�3��
�����������h�
�6��=��	���	�
��������h��.�/�������h��}�=�t�D��	���	�������h��x�8�$�?��	���	����7�7�<�<����d�3��
�����������h�
�6��=��	���	�
��������h�(C�D�E�������h�(C�]�S�UY�Z��	���	�������h�(C�X�N�PT�U��	���	�
�� '�4�4�d�l�l�^�D�E�D�!�1���D��E�����*��C��|�|�E�"�"�����C� ���Fs�4Kc��QoQoQo[OOUOU2o[O
UQ2oUO
UQ*P2UO
UQ*U*Q*P2UO
UQ*U*Q*P2UO
UQ*P2UO
UQ*U*Q*P2UO
UQ*U*Q*P2UO2[OO]U2,Q	No[OU,2Tt,tFDpw]*MJ
	ooUOV�2[O]SFD-o	U	OQ2%cJ[OU	J/	P!ttoh)
zBTests the same as test_walkpackages_filesys, only with a zip file.ztest_walkpackages_zipfile.zip�test_walkpackages_zipfiler%r;r<�/z/mod.pyrb)r%zsub.test_walkpackages_zipfilez!sub.test_walkpackages_zipfile.modrmztest_walkpackages_zipfile.subz!test_walkpackages_zipfile.sub.mod)r'rr(rr>r?r@r+rrr-rYr/rcr0)
rrFrdrfrGrHrhrirjr1s
&         rrm�&PkgutilTests.test_walkpackages_zipfile�sc��.��*�����7�7�<�<����c�2���O�O�H�c�*��	�
�
�4�.�(�"�-�	�
�
�4�#�:��$�~�5�r�:�	�
�
�4�#�:��$�y�0�"�5�	�
�
�4�.�(�"�-�	�
�
�4�#�:��$�~�5�r�:�	�
�
�4�#�:��$�y�0�"�5�	���	�������8�$�
�� '�4�4�h�Z�@�A�@�!�1���@��A�����*��H�H�Q�K��C��|�|�E�"�"�����C� ���	Bs�#Gc��QoUO[[129^tt^2[[O
U22PPP2QoUO[[129^tt^2[[O
U22PPP2P!)%fhK_9h)%fhP!9h)�test_dirstest_dir)�assertRaises�	TypeErrorrPrQr-rY)r�	str_input�bytes_inputs&  r�2test_walk_packages_raises_on_string_or_bytes_input�?PkgutilTests.test_walk_packages_raises_on_string_or_bytes_input�s����	�
�
�
�	�:�6�
7�
7���&�&�y�1�2�8�"��
�
�
�	�:�6�
7�
7���&�&�{�3�4�8�
7�	8�
7��8�
7�
7�s#� B�4 B1�B.	�'B.	�1C	�:C	c���Q[1Q[O1Q[OO1Q[1Q[1Q[O1Q[O1Q[OO
1Q[OO
1Q	[OO
O1Q
[OO
O1Q[1Q[1Q
[O1Q[O1Q[1Q[1Q[O11oP[1][1Q[1P	[1P[1Q[1Q[1Q[1Q[1Q[1Q[1Q[1Q[1Q[1Q[1Q[1Q[11oQ$oSFD�o[OOUOU2o[O UP	Q5[OOUQ 2o[%UQ!29^tt^2oUO'P2UO)2PPP2[*O,2[*O.U2oVU11*
o[1U2]6�fJ�V$PP[11*
oCJ	UQ"[11*
oSFDOvq�UO3UQ#59^tt^2[4O6U2o
UO9V�2PPP2JQ	SFD`vq�UO3UQ#59^tt^2UO;U29^tt^2[4O6U2PPP2PPP2Jb	P!["cCJ�h9h)%fhCKR9h)%fhJ�9h)%fhKY9h)%fhJ�9h)%r'�os.path�os.path:pathsep�logging�logging:zlogging.handlerszlogging.handlers:�logging.handlers:SysLogHandlerzlogging.handlers.SysLogHandler�(logging.handlers:SysLogHandler.LOG_ALERTz(logging.handlers.SysLogHandler.LOG_ALERTzbuiltins.int�builtins:intzbuiltins.int.from_bytes�builtins:int.from_byteszbuiltins.ZeroDivisionErrorzbuiltins:ZeroDivisionError�os:pathg@z?abczabc/foo�foozos.foo�os.foo:zos.pth:pathsepzlogging.handlers:NoSuchHandlerz,logging.handlers:SysLogHandler.NO_SUCH_VALUEz,logging.handlers.SysLogHandler.NO_SUCH_VALUE�ZeroDivisionErrorzos.path.9abc�9abc��exist_okr"r;u०वमस��s)	u	वमस�é�Èu안녕하세요uさよならuありがとうuХорошоuспасибоu现代汉语常用字表)r'r�pathsepr{�handlers�
SysLogHandler�	LOG_ALERT�int�
from_bytesr�rsrP�ImportError�AttributeErrorr(r�makedirs�UnicodeEncodeErrorr*r,�flush�	importlib�invalidate_caches�
import_module�len�subTestr-�resolve_namer/rr)r�
success_cases�
failure_cases�
unicode_words�uwr\r4rbr�rh�o�excs&           r�test_name_resolution�!PkgutilTests.test_name_resolution�s:��
�2�J�
���� �
������0�
�� �
��!�
��!1�!1�2�
 �'�"2�"2�3�
-�w�/?�/?�/M�/M�N�
-�w�/?�/?�/M�/M�N�
7�� � �.�.�8�8�
:�
7�� � �.�.�8�8�
:�
�S�!�
�S�!�
&����7�
&����7�
)�+<�=�
)�+<�=�
���� �)
�
�0�9��
�	�N�
�)��
�9��
���
�Z� �
�
�#�
�K� �
�~�&�
��$�
�{�+�
-�~�>�
;�^�L�
;�^�L�
 �+�.�
�Z�(�
�Z� �#
�
�,M�
� �B������T�\�\�2�.�A�
����A��-�
�����Q�
�.�A��a�������������	��

�'�'�)��)�)�"�-�C��#�Y�Z�'�M��2�w��{��S�b�'�;�!7�!8�8�
�% �*	�4�j�A�B�B�
�(�K�A������"�"��(�(��+��� � ��-�#�"�)�
$�F�A������"�"��&�&�s�+�+��(�(��+�,�#�"�$��1'�
��
��
����#�"�"��,�+��#�"�"�sl�"N�."N	�)(N-	�?O	�O
�0O	�	N�N�N�N*
�"N*
�-N>
�6N>
�O�
O�O	�O%
�O%
c�V�Q[OO1Q[OO
1Q[OO
O1Q[1Q[O1Q[O11oQ	oSFDPvq4UOUQ59^tt^2UO[OUP	Q5U2PPP2JR	SFDdoUOUQ59^tt^2UO[29^tt^2[OUP	Q5PPP2PPP2Jf	UO[OQP	Q5[O2UO[OQ2[O2UO[OQP	Q5[O2P!)%fhCJs9h)%fhK�9h)%fhCJD9h)
rzr}r~rr�r�ryr�)�strict)
r'ryr|r�z:intzos.path:join:extrazos.path.9abc:joinzos.path:9abc�z?abc:foo)r'rr�r{r�r�r�r�r�r�r/r-r�rrrP)rr�r�r�rhs&    r�test_name_resolution_strict�(PkgutilTests.test_name_resolution_strictDs���������0�
-�� � �.�.�
0�
7�� � �.�.�8�8�
:�
�S�!�
&����7�
���� �	
�
�
�
�)�K�A������"�"�� � ��(�(��4�8�(�D�#�"�)�
�A������"�"��&�&�z�2�2��(�(��4�8�3�#�"��	
���� � ��4�8�"�'�'�	C�����-�-�i�8�"�'�'�B����� � ��4�8�"�'�'�	C�#�"�"��3�2��#�"�"�sB�,)G.	�H	�H
�8H	�.H
�7H
�H�H�H	�H(
�H(
c	���[OO[OO[2QQ2o[QQ29^tt^2[
U29^tt^2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q2PPP2PPP2P!)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCK9h)%fhCK"9h)%fhK�9h)%fhP!9h)	�test_import�data�package3zpackage3.submodulezpackage3.submodule.attr�	submodulezpackage3.submodule:attrzpackage3:submodule.attr�rebound�
r'rr(r�__file__rrr/r-r��rrs& r�%test_name_resolution_import_rebinding�2PkgutilTests.test_name_resolution_import_rebindingss����w�w�|�|�B�G�G�O�O�H�5�}�f�M��
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�k�Z�9L�
6�
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�k�Z�9L�
6�
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�i�X����W�1�1�2K�L�k�Z����W�1�1�2K�L�i�X�9L�
6��Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�i�X����W�1�1�2K�L�k�Z����W�1�1�2K�L�i�X�9L�
6�
6�9L�8K�8K��
6�
6�
6��8K�8K�8K��
6�
6�
6��8K�8K�8K��
6�
6�
6��9L�8K��
6�
6�
6����I.�,'I	�I.�7J�'J	�2J�J>�*A3J*	�J>�K%�A3K	�K%�I+
�#I+
�%	I.�.I?	�7I?	�J
�J
�
	J�J'	�J'	�*J;
�3J;
�5	J>�>K	�K	�K"
�K"
�K%�%K6	�.K6	c	���[OO[OO[2QQ2o[QQ29^tt^2[
U29^tt^2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q2PPP2PPP2[QQ29^tt^2[
U29^tt^2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q2PPP2PPP2P!)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCK9h)%fhCK"9h)%fhK�9h)%fhP!9h)	r�r��package4zpackage4.submodulezpackage4.submodule.attrr�zpackage4.submodule:attrzpackage4:submodule.attr�originr�r�s& r�&test_name_resolution_import_rebinding2�3PkgutilTests.test_name_resolution_import_rebinding2�s����w�w�|�|�B�G�G�O�O�H�5�}�f�M��
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�k�Z�9L�
6�
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�k�Z�9L�
6�
�Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�h�W����W�1�1�2K�L�k�Z����W�1�1�2K�L�k�Z�9L�
6��Z�!5�
6�
6�
�d�8K�8K����W�1�1�2K�L�h�W����W�1�1�2K�L�k�Z����W�1�1�2K�L�k�Z�9L�
6�
6�9L�8K�8K��
6�
6�
6��8K�8K�8K��
6�
6�
6��8K�8K�8K��
6�
6�
6��9L�8K��
6�
6�
6�r�)r)�__name__�
__module__�__qualname__�__firstlineno__rrr r:rTr^rarmrvr�r�r�r��__static_attributes__�__classdictcell__��
__classdict__s@rr
r
sV����)�
��:!�F%7�N	2�&!�P!!�F5�V,�p-C�^Y�"
[�
[rr
c�f`�\sQsQsnQQ\2sQQ\2sQsQsQs	Q	s
Q
sUsP!)�PkgutilPEP302Tests�c�4`�\sQsQsnQsQsQsQsUsP!)�PkgutilPEP302Tests.MyTestLoader�c��P!)N�)r�specs&&r�
create_module�-PkgutilPEP302Tests.MyTestLoader.create_module�s��rc�h�UOOQ]2]*UOQ$P!)�loads)�__dict__�get)rrbs&&r�exec_module�+PkgutilPEP302Tests.MyTestLoader.exec_module�s&��$'�L�L�$4�$4�W�a�$@�1�$D�C�L�L��!rc��Q!)�
Hello, world!r�r�s&&rr.�(PkgutilPEP302Tests.MyTestLoader.get_data�s��"rr�)	r�r�r�r�r�r�r.r�r�r�s@r�MyTestLoaderr��s����	�	E�	#�	#rr�c�,`�\sQsQsnQQksQsUsP!)�!PkgutilPEP302Tests.MyTestImporter�c��[O2o[UQUOO*U,Q5!)z<%s>)�loader�submodule_search_locations)r�r�r�	__class__r�)r�fullnamer�targetr�s&&&& r�	find_spec�+PkgutilPEP302Tests.MyTestImporter.find_spec�s;��'�4�4�6�F�*�8�+1�F�4D�4D�4M�4M�+M�28�FH�J�
Jrr�)NN)r�r�r�r�r�r�r�r�s@r�MyTestImporterr��s����	J�	Jrr�c�d�[OO]UO22P!r)r�	meta_pathrr�rs&rr�PkgutilPEP302Tests.setUp�s���
�
���Q�� 3� 3� 5�6rc�*�[O]P!r)rr�rs&rr�PkgutilPEP302Tests.tearDown�s���M�M�!�rc�x�UO[OQQ2Q2[OQP!)r��dummyr�)r/r-r.rr0rs&r�test_getdata_pep302�&PkgutilPEP302Tests.test_getdata_pep302�s+������)�)�%��9�?�K��K�K��rc���]PHoUOUO]2UO[OQQ2Q2UOUO]2[
OQP!)rr�r�r�)r�r/r�r-r.rr0)rr�s& r�test_alreadyloaded�%PkgutilPEP302Tests.test_alreadyloaded�sX��	�������A�&�����)�)�%��9�?�K�������A�&��K�K��rr�)
r�r�r�r��objectr�r�rrr�r�r�r�r�s@rr�r��s8����	#�v�	#�J��J�7���
�rr�c�L`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sUsP!)
�ExtendPathTests�c��[O2o[OO	]U2[
OO
V!2o[
OU2[[
OO
UQ2Q29^tt^2oUOQ2PPP2U!)%fhS!9h)rr"r;zKfrom pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
)
r
rrrrr'r(r)r*r,)r�pkgnamer�pkgdir�fls&&   r�create_init�ExtendPathTests.create_init�s����"�"�$��������7�#������g�/��
�����
�"�'�'�,�,�v�}�5�s�
;�
;�r��H�H�d�e�<���<�
;���s�B:�:C	�C	c���[OOVUQ*2o[UQ29^tt^2o[	QOU2UQ5PPP2P!)%fhP!9h)�.pyr;zvalue={})�file)r'rr(r*�print�format)rrr��submodule_name�value�module_namer�s&&&&&  r�create_submodule� ExtendPathTests.create_submodule�sN���g�g�l�l�7�^�e�5K�L��
�+�s�
#�
#�r��*�#�#�E�*��4�$�
#�
#�
#�s�A$�$A5	�-A5	c
��QoUOU2oUOU2oUOV!Q]2UOV1Q]2]PH
o]PHoUO	UO
O]2UO	UOO]2UO	[UO2[[OOV!2[OOV12,22[OU2[OU2[O][O][O Q[O Q[O QP!)r��bar�baz�foo.bar�foo.baz)r�r�foo.bar�foo.bazr/rrr�sorted�__path__r'rr(rrrr0�rr��	dirname_0�	dirname_1r�s&    r�test_simple�ExtendPathTests.test_simple�s�����$�$�W�-�	��$�$�W�-�	����i�%��;����i�%��;������������*����������*�	
�������-�������i�!A�!#�����i�!A�!C�D�	E�
	�
�
�i� ��
�
�i� ��H�H�Q�K��H�H�Q�K��K�K����K�K�	�"��K�K�	�"rc��[Oo[OoQoQoUOU2o[O
O
VS2oQOV42o[OOUP2[OOUP2UOVSU]2[OU2[UU22oUU2o	SFD�o
U
OU2oUO oUO oUO%U
[O&O(2UO+V�2UO%U[O&O,2UO/U
OU22J�	UO1[229^tt^2[UQ22PPP2UO1[229^tt^2[UQ22PPP2[4O6U2[O
][OQ[OQP!["cCKQh9h)%fhK�9h)%fhK�9h[8cP!h9h[4O6S2[O
][OQ[OQh[8chh9h9h)�spam�eggsz{}.{}zinvalid.modulez.spamz	spam.eggs)r-�iter_importers�get_importerr�r'rr(r�rr0rNrr�r�rQr�r�r�rB�	machinery�
FileFinderr/�SourceFileLoader�assertIsNonerrr�rr�KeyError)
rrrr��modnamer�pathitemr��	importers�expected_importer�finderr�r�s
&            r�test_iter_importers�#ExtendPathTests.test_iter_importers�sO�� �/�/���+�+�������"�"�7�+���7�7�<�<��1���>�>�'�3��������$�'��������&�"	��!�!�'�G�Q�?��#�#�H�-��^�H�5�6�I� ,�X� 6��#���'�'��1�������#�]�]�F�
�%�%�f�i�.A�.A�.L�.L�M�� � ��;��%�%�f�&/�&9�&9�&J�&J�L��!�!�&�"2�"2�7�";�<�$��"�"�;�/�/��^�$4�5�6�0��"�"�;�/�/��^�G�,�-�0�
�M�M�'�"������
��K�K��'��K�K��,��)&�����0�/��0�/���
��
��
�M�M�'�"������
��K�K��'��K�K��,���
��
�s��(A%J'�I�B&J'�I/�%J'�7J�	J'�9"J�	I,�'I,�(J'�+I,�,J'�/I?	�8I?	�:J'�J	�J	�
J'�	J$�J$�#J$�'(L�"K3�2L�3	L�=L�>L�L�Lc
��QoUOU2oUOU2oUOV!Q]2[O[OOV!Q22UOV1Q]2]PHo]PHoUOUOO]2UOUOO]2UO[UO2[[OOV!2[OOV12,22[OU2[OU2[ O][ O][ O"Q[ O"Q[ O"QP!)r�rr"rrr)r�rr'�unlinkrr(r	r
r/rrrrrrrrr0r
s&    r�test_mixed_namespace�$ExtendPathTests.test_mixed_namespaces:�����$�$�W�-�	��$�$�W�-�	����i�%��;�
�	�	�"�'�'�,�,�y�=�A�B����i�%��;������������*����������*�	
�������-�������i�!A�!#�����i�!A�!C�D�	E�
	�
�
�i� ��
�
�i� ��H�H�Q�K��H�H�Q�K��K�K����K�K�	�"��K�K�	�"rc��QoUOU2oUOQ[OQQ22UOQ[OQQ22UO]{[O]{Q22UOP[OPQ22[O
U2[O]P!)r��notalist)�not�arQ)r�r/r-�extend_pathrrrr)rr�rs&  r�test_extend_path_argument_types�/ExtendPathTests.test_extend_path_argument_types<s������$�$�W�-�	�	
����W�%8�%8��U�%K�L����-�w�/B�/B�CW�Y^�/_�`�����g�1�1�#�u�=�>�����w�2�2�4��?�@�	�
�
�i� ��H�H�Q�Krc�P�QoUOU2o[[OO	UQ2Q29^tt^2oUOQO	,QN22PPP2[O[OQ2oUOUPQ[O2UOUQ*Q2UOUP*Q2[OU2[O]P!)%fhK�9h)	r�zbar.pkgr;�
r�/foo/bar/bazr)rr0r�z#comment���)r�r*r'rr(r,r-r+rr/rr)rr�r�pkg_file�extended_pathss&    r�test_extend_path_pkg_files�*ExtendPathTests.test_extend_path_pkg_filesKs������$�$�W�-�	�
�"�'�'�,�,�y�)�4�c�
:�
:�h��N�N�4�9�9�&��
�;�!�,�,�S�X�X�u�=��������,�c�h�h�7������+�U�3������+�^�<�	�
�
�i� ��H�H�Q�K�!;�
:�s�#D�D%	�D%	r�)
r�r�r�r�r�rrr!r%r,r4r�r�r�s@rr�r��s.����	�5�
#�:-�`#�:��rr�c�:`�\sQsQsnQsQsQsQsQsUs	P!)�NestedNamespacePackageTest�bc�t�[O2Um[OQ*UmP!�:NNN)r
r�basedirrr�old_pathrs&rr� NestedNamespacePackageTest.setUpds!���'�'�)���������
rc��UO[OQ$[OUO
2P!r:)r<rrrrr;rs&rr�#NestedNamespacePackageTest.tearDownhs#���m�m�������
�
�d�l�l�#rc���UOQ]2vq4[OOUOUOQ[OO22o[OUP	Q5[[OOVTQ*2Q29^tt^2oUOU2PPP2P!)%fhP!9h)�.r�r�r;)
�rsplitr'rr(r;�replace�sepr�r*r,)rrE�contents�base�final�	base_pathr4s&&&    rr��(NestedNamespacePackageTest.create_modulels����k�k�#�q�)����G�G�L�L����t�|�|�C������/M�N�	�
���I��-�
�"�'�'�,�,�y�%�-�8�#�
>�
>�!�
�G�G�H��?�
>�
>�
>�s�8C�C%	�C%	c�t�QoUOQU2UOQU2UOQU2UOQU2UOQQ2UOQQ2[OO][OOUOQ	22[OO][OOUOQ
22]PHoUO[Q2UO[UO2]2]PH6oUO[Q2UO[UOO2]2]Q
H>Go]QHFGoUOU]2UOU]2P!)zBimport pkgutil; __path__ = pkgutil.extend_path(__path__, __name__)za.pkg.__init__zb.pkg.__init__za.pkg.subpkg.__init__zb.pkg.subpkg.__init__za.pkg.subpkg.czc = 1zb.pkg.subpkg.dzd = 2r*�br1z
pkg.subpkg)�c)r\)r�rrrr'r(r;r1rrr/r�r�
pkg.subpkg�subpkg�pkg.subpkg.crL�pkg.subpkg.dr\)r�pkgutil_boilerplater1rLr\s&    r�test_nested�&NestedNamespacePackageTest.test_nestedssC��
A�	�	
���+�-@�A����+�-@�A����2�4G�H����2�4G�H����+�W�5����+�W�5�������2�7�7�<�<����c�:�;�������2�7�7�<�<����c�:�;�������&�����S�\�\�*�A�.�������-�����S�Z�Z�0�0�1�1�5�"�"�����A������A�r)r;r<)
r�r�r�r�rrr�rRr�r�r�s@rr7r7bs����$�$���rr7c�4`�\sQsQsnQsQsQsQsUsP!)�ImportlibMigrationTests�c��[29^tt^2oUO[OQ22UO	[UO2]2PPP2P!)%fhP!9h)z*??)rrr-rr/r��warnings)rr;s& r�"test_get_importer_avoids_emulation�:ImportlibMigrationTests.test_get_importer_avoids_emulation�sM��
�
�
�����g�2�2�5�9�:����S����_�a�0��
�
�
�s�AA)�)A:	�2A:	c��[O[Q22P![cSO	Q2P!h9h)z/homez3Unexpected AttributeError when calling get_importer)r-rrr�rZrs&r�test_issue44061�'ImportlibMigrationTests.test_issue44061�s8��	M�� � ��g��/���	M��I�I�K�L�	M�s�$�	A�A�Ac���[29^tt^2o[O2FDoJ	UO[	UO
2]2PPP2P!)%fhP!9hr)rr-rr/r�rX)rr;�importers&  r�$test_iter_importers_avoids_emulation�<ImportlibMigrationTests.test_iter_importers_avoids_emulation�sG��
�
�
��#�2�2�4��d�4����S����_�a�0��
�
�
�s�AA!�!A2	�*A2	r�)	r�r�r�r�rYr\r`r�r�r�s@rrUrU�s����
1�M�1�1rrUc�n�]PHo]PHoUOO2UO2P!r)�	zipimportr��_zip_directory_cache�clearr�)rcr�s  r�tearDownModulerf�s&����
�"�"�(�(�*�
���!r�__main__)!r{�logging.handlers�pathlibr�test.support.import_helperr�test.support.warnings_helperr�unittestrr��importlib.utilrr-r'�os.pathr
rr>r�test.support.os_helperr�test.test_importlib.utilr�TestCaser
r�r�r7rUrfr��mainr�rr�<module>rss������-�7��
��2��	���
��4�+�,�v[�8�$�$�v[�r(��*�*�(�Z^�h�'�'�^�B&��!2�!2�&�R1�h�/�/�1�."��z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit