403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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:/Python313/Lib/test/test_importlib/metadata/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/test_importlib/metadata/__pycache__/test_api.cpython-313.opt-2.pyc
�

��ij,�
��SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ	r	J
r
JrJrJ
r
JrJrJr \R"S5r"SS\R&\R(\R*\R,\R.\R0\R2\R4\R65r"SS	\R:\R65r"S
S\R>\R65r "SS
\R65r!g)�N�)�fixtures)�Distribution�PackageNotFoundError�distribution�entry_points�files�metadata�requires�versionc#�# �[R"SS9n[R"S[S9 Uv� SSS5 g!,(df   g=f7f)NT)�record�default)�category)�warnings�catch_warnings�simplefilter�DeprecationWarning)�ctxs �:C:\Python313\\Lib\test\test_importlib\metadata\test_api.py�suppress_known_deprecationrs6���	�	 �	 ��	-�����i�2D�E��	�
.�	-�	-�s�A�>�	A�
A�Ac���\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSr\S5rSrSrSrSrSrSrSrSrSr Sr!Sr"S r#S!r$g")#�APITests�z\d+\.\d+(\.\d)?c��[S5ng�N�egginfo-pkg�r��self�pkg_versions  r�test_retrieves_version_of_self�'APITests.test_retrieves_version_of_self)s���m�,��c��[S5ng�N�distinfo-pkgrrs  r�&test_retrieves_version_of_distinfo_pkg�/APITests.test_retrieves_version_of_distinfo_pkg.s���n�-�r$c�x�UR[5 [S5 SSS5 g!,(df   g=f)Nzdoes-not-exist)�assertRaisesrr�r s r�test_for_name_does_not_exist�%APITests.test_for_name_does_not_exist3s&��
�
�
�3�
4��)�*�5�
4�
4�s�+�
9c�r�SnUHnURU5 SSS5 M g!,(df   M1=f�N)zpkg.dot�pkg_dotzpkg-dotzpkg..dotzPkg.Dot��subTest�r �names�names   r�test_name_normalization� APITests.test_name_normalization7�'��F���D����d�#�#��#�#���'�
6	c���SnUHFnURU5 UR[5 [U5 SSS5 SSS5 MH g!,(df   N=f!,(df   Mk=f)N)�p�pkgzpkg.)r3r+rr)r �prefixes�prefixs   r�test_prefix_not_matched� APITests.test_prefix_not_matched=sQ��%���F����f�%��&�&�';�<� ��(�=�&�%��<�<��&�%�s!�A!�A�A!�
A�A!�!
A0	c���SS/nUHWup#URU5 UR[U5RS5R	5U5 SSS5 MY g!,(df   Mk=f)N)r�mod)�egg_with_no_modules-pkg��
top_level.txt)r3�assertEqualr�	read_text�strip)r �tests�pkg_name�expect_contents    r�test_for_top_level�APITests.test_for_top_levelDsf��"�+�
��).�$�H����h�'�� � � ��*�4�4�_�E�K�K�M�"��(�'�).�'�'�s�9A#�#
A2	c�$�SS/nUHoup#URU5 [U5Vs/sHoDRS:XdMUPM snSnURUR	5U5 SSS5 Mq gs snf!,(df   M�=f)N)rzmod
)rD�
rFr)r3r	r6rGrH)r rJrKrL�path�	top_levels      r�test_read_text�APITests.test_read_textPs���$�-�
��).�$�H����h�'�%*�8�_��%4�T�	�	�_�8T�D�_����	�� � ��!4�!4�!6��G�	(�'�).���(�'�s"�B�A;�A;�&B�;B�
B	c��[5nURSS9nUSnURURS5 URUR/5 g)N�entries��group�mainzmod:main)r�selectrG�value�extras)r �epsrV�eps    r�test_entry_points�APITests.test_entry_points\sJ���n���*�*�9�*�-��
�V�_��������:�.�������B�'r$c���[SS9nSHSnXnURURRS5 UR	URR
S5 MU g)NrVrW)rYzns:sub)r'rz1.0.0)r�assertIn�distr6rGr)r rV�entryr^s    r�test_entry_points_distribution�'APITests.test_entry_points_distributionesL���Y�/��'�E���B��M�M�"�'�'�,�,�(G�H����R�W�W�_�_�g�6�(r$c��URR[R"55nURRURU55 SSSS.0n[R"X!5 [SS9ng)NzDistInfo_pkg-1.1.0.dist-infozS
                Name: distinfo-pkg
                Version: 1.1.0
                zJ
                [entries]
                main = mod:altmain
            )�METADATAzentry_points.txtrVrW)r�
enter_context�tempdir�add_sys_path�build_filesr)r �alt_site_dir�alt_pkgrVs    r�,test_entry_points_unique_packages_normalized�5APITests.test_entry_points_unique_packages_normalizedlsq��
�}�}�2�2�8�3C�3C�3E�F���
�
�#�#�D�$5�$5�l�$C�D�*��%�	-�
��	���W�3��Y�/�r$c�z�UR[5 [SS9S SSS5 g!,(df   g=f)NrVrW�missing)r+�KeyErrorrr,s r�test_entry_points_missing_name�'APITests.test_entry_points_missing_name�s)��
�
�
�x�
(��y�)�)�4�)�
(�
(�s�
,�
:c��g�N�r,s r�test_entry_points_missing_group�(APITests.test_entry_points_missing_group�s�r$c��[5RSSS9nUR[5 SUlSSS5 g!,(df   g=f)NrVrY)rXr6�)rrZr+�AttributeError�foo)r r^s  r�&test_entry_points_allows_no_attributes�/APITests.test_entry_points_allows_no_attributes�s:��
�^�
"�
"���
"�
@��
�
�
�~�
.��B�F�/�
.�
.�s	�?�
A
c�<�[S5nURS5ng)Nr�
Classifier)r
�get_all)r �md�classifierss   r�test_metadata_for_this_package�'APITests.test_metadata_for_this_package�s��
�m�
$���j�j��.�r$c�b�[S5n[5 SSS5 g!,(df   g=fr&)r
r�r r�s  r�test_missing_key_legacy� APITests.test_missing_key_legacy�s���n�
%��
'�
)�
)�
)�
)�s� �
.c��[S5ngr�r
r�s  r�test_get_key�APITests.test_get_key�s���m�
$�r$c��[S5ngr&r�r�s  r�test_get_missing_key�APITests.test_get_missing_key�s���n�
%�r$c��USRnUH5nURRS5(dM%UR5 M7 g)Nrz.py)�rootr6�endswithrH)r	r��files   r�_test_files�APITests._test_files�s:���Q�x�}�}���D��y�y�!�!�%�(�(���� �r$c��[S5Vs/sHoRS:XdMUPM snSnUR[UR5S5 gs snf)Nr'zmod.pyrz!<FileHash mode: sha256 value: .*>)r	r6�assertRegex�repr�hash)r r<�utils   r�test_file_hash_repr�APITests.test_file_hash_repr�sJ�� ��0�G�0�a�F�F�h�4F��0�G��J������d�i�i��*M�N��Hs
�A�Ac�8�UR[S55 gr&�r�r	r,s r�test_files_dist_info�APITests.test_files_dist_info�s������~�.�/r$c���UR[S55 UR[S55 UR[S55 UR[S55 g)Nrzegg_with_module-pkgrDzsources_fallback-pkgr�r,s r�test_files_egg_info�APITests.test_files_egg_info�sQ������}�-�.�����4�5�6�����8�9�:�����5�6�7r$c�:�UR[S5S5 g)N�egginfo-filez0.1)rGrr,s r�test_version_egg_info_file�#APITests.test_version_egg_info_file�s�������0�%�8r$c�<�[S5nURU5 g)Nr�)r�assertIsNone)r �requirementss  r�test_requires_egg_info_file�$APITests.test_requires_egg_info_file�s����/�����,�'r$c��[S5ngr�r�r �depss  r�test_requires_egg_info�APITests.test_requires_egg_info�s���
�&�r$c�~�[R"SS0URRS55 [	S5ng)Nzrequires.txtrEzegginfo_pkg.egg-infor)rrl�site_dir�joinpathrr�s  r�test_requires_egg_info_empty�%APITests.test_requires_egg_info_empty�s;�������
�
�M�M�"�"�#9�:�		
��
�&�r$c��[S5ngr&r�r�s  r�test_requires_dist_info� APITests.test_requires_dist_info�s����'�r$c�v�[R"S5n[[R"U55n/SQng)Na
            dep1
            dep2

            [:python_version < "3"]
            dep3

            [extra1]
            dep4
            dep6@ git+https://example.com/python/dep.git@v1.0.0

            [extra2:python_version < "3"]
            dep5
            )�dep1�dep2zdep3; python_version < "3"zdep4; extra == "extra1"z2dep5; (python_version < "3") and extra == "extra2"zGdep6@ git+https://example.com/python/dep.git@v1.0.0 ; extra == "extra1")�textwrap�dedent�sortedr�_deps_from_requires_text)r rr��expecteds    r�$test_more_complex_deps_requires_text�-APITests.test_more_complex_deps_requires_text�s3���?�?�

�
�� �l�;�;�H�E�F��
�r$c�8�[S5RnUSng)Nr'�description�r
�json�r r��descs   r�test_as_json�APITests.test_as_json	s��
�n�
%�
*�
*���-� �r$c�8�[S5RnUSng)Nrr�r�r�s   r�test_as_json_egg_info�APITests.test_as_json_egg_infos��
�m�
$�
)�
)���-� �r$c�N�UR5 [S5Rngr&)�make_uppercaser
r�r�s  r�test_as_json_odd_case�APITests.test_as_json_odd_cases������
�n�
%�
*�
*�r$rxN)%�__name__�
__module__�__qualname__�__firstlineno__�version_patternr"r(r-r7r@rMrSr_rerortryrr�r�r�r��staticmethodr�r�r�r�r�r�r�r�r�r�r�r�r��__static_attributes__rxr$rrrs���)�O�;�
;�
+�H�)�
�
H�(�7�-�85�3��
K�0�/�0��
!��
!�O�0�8�9�(�S�
�1� �@-�*�7r$rc� �\rSrSrSrSrSrg)�
LegacyDotsi!c�r�SnUHnURU5 SSS5 M g!,(df   M1=fr0r2r4s   rr7�"LegacyDots.test_name_normalization"r9r:c�r�SnUHnURU5 SSS5 M g!,(df   M1=f)N)zpkg.lot�pkg_lotzpkg-lotzpkg..lotzPkg.Lotr2r4s   r�,test_name_normalization_versionless_egg_info�7LegacyDots.test_name_normalization_versionless_egg_info(r9r:rxN)r�r�r�r�r7r�r�rxr$rr�r�!s��H�Hr$r�c�&�\rSrSrSrSrSrSrg)�OffSysPathTestsi/c�T�[R"[UR5/S9ng)N)rQ)r�discover�strr�)r �distss  r�&test_find_distributions_specified_path�6OffSysPathTests.test_find_distributions_specified_path0s���%�%�C��
�
�,>�+?�@�r$c�N�URS-n[R"U5ng�Nzdistinfo_pkg-1.0.0.dist-info)r�r�at�r �dist_info_pathrcs   r�test_distribution_at_pathlib�,OffSysPathTests.test_distribution_at_pathlib4s�����)G�G�����~�.�r$c�`�URS-n[R"[U55ngr�)r�rr�r�r�s   r�test_distribution_at_str�(OffSysPathTests.test_distribution_at_str:s$�����)G�G�����s�>�2�3�r$rxN)r�r�r�r�r�r�r�r�rxr$rr�r�/s��N�'�'r$r�c��\rSrSrSrSrg)�InvalidateCachei@c�.�[R"5 grw)�	importlib�invalidate_cachesr,s r�test_invalidate_cache�%InvalidateCache.test_invalidate_cacheAs���#�#�%r$rxN)r�r�r�r�r�r�rxr$rr�r�@s��&r$r�)"�rer��unittestrr��
contextlibrEr�importlib.metadatarrrrr	r
rr�contextmanagerr�
EggInfoPkg� EggInfoPkgPipInstalledNoToplevel�EggInfoPkgPipInstalledNoModules�'EggInfoPkgPipInstalledExternalDataFiles�EggInfoPkgSourcesFallback�DistInfoPkg�DistInfoPkgWithDot�EggInfoFile�TestCaser�DistInfoPkgWithDotLegacyr��DistInfoPkgOffPathr�r�rxr$r�<module>rs���	�������	�	�	�������B7�����-�-��,�,��4�4��&�&�������������B7�JH��2�2�H�4E�4E�H�'�h�1�1�8�3D�3D�'�"&�h�'�'�&r$

Youez - 2016 - github.com/yon3zu
LinuXploit