403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
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:/Python312/Lib/test/test_importlib/resources/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/test/test_importlib/resources/__pycache__/test_custom.cpython-312.opt-2.pyc
�

���g����ddlZddlZddlZddlmZddlmZddlmZm	Z	ddl
mZGd�d�ZGd	�d
e�Z
Gd�dej�Zy)
�N)�	os_helper)�	resources)�TraversableResources�ResourceReader�)�utilc� �eZdZ	defd�Zd�Zy)�SimpleLoader�readerc��||_y�N�r)�selfrs  �>C:\Python312\\Lib\test\test_importlib\resources\test_custom.py�__init__zSimpleLoader.__init__s	�����c��|jSr
r)r�packages  r�get_resource_readerz SimpleLoader.get_resource_readers���{�{�rN)�__name__�
__module__�__qualname__rrr�rrr
r
s����~��rr
c�4�eZdZ	dejfd�Zd�Zy)�MagicResources�pathc��||_yr
�r)rrs  rrzMagicResources.__init__s	����	rc��|jSr
r�rs r�fileszMagicResources.files s���y�y�rN)rrr�pathlib�Pathrr!rrrrrs����W�\�\��rrc��eZdZd�Zd�Zy)�CustomTraversableResourcesTestsc��tj�|_|j|jj�yr
)�
contextlib�	ExitStack�fixtures�
addCleanup�closer s r�setUpz%CustomTraversableResourcesTests.setUp%s(��"�,�,�.��
�����
�
�+�+�,rc���|jjtj��}t	t|��}t
j|�}tj|�}yr
)
r)�
enter_contextr�temp_dirr
rr�create_package_from_loaderrr!)rr/�loader�pkgr!s     r�test_custom_loaderz2CustomTraversableResourcesTests.test_custom_loader)sL���=�=�.�.�y�/A�/A�/C�D���n�X�6�7���-�-�f�5������$�rN)rrrr,r3rrrr%r%$s��-�!rr%)�unittestr'r"�test.supportr�	importlibr�importlib.resources.abcrr�rr
r�TestCaser%rrr�<module>r:sC�����"��H��	�	�	�)�	�
!�h�&7�&7�
!r

Youez - 2016 - github.com/yon3zu
LinuXploit