HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/test/test_importlib/source/__pycache__/test_path_hook.cpython-310.pyc
o

�i��@sVddlmZe�d�ZddlZGdd�d�Zejeed�\ZZe	dkr)e�
�dSdS)	�)�utilzimportlib.machinery�Nc@s8eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�ZdS)
�PathHookTestzTest the path hook for source.cCs|jj�|jj|jjf�S)N)�	machinery�
FileFinder�	path_hook�SourceFileLoader�SOURCE_SUFFIXES��self�r�F/usr/local/lib/python3.10/test/test_importlib/source/test_path_hook.pyrs�zPathHookTest.path_hookcC�Lt�d��}|�t|��|d�d��Wd�dS1swYdS)N�dummy�.root�	find_spec�rZcreate_modules�
assertTrue�hasattrr�r�mappingrrr
�test_success�
�"�zPathHookTest.test_successcCr)Nrr�find_modulerrrrr
�test_success_legacyrz PathHookTest.test_success_legacycC�|�t|��d�d��dS)N�r�rrrr
rrr
�test_empty_string�zPathHookTest.test_empty_stringcCr)Nrrrr
rrr
�test_empty_string_legacyrz%PathHookTest.test_empty_string_legacyN)	�__name__�
__module__�__qualname__�__doc__rrrrr rrrr
rsr)r�__main__)rrZimport_importlibrZunittestrZ	test_bothZFrozen_PathHookTestZSource_PathHooktestr!�mainrrrr
�<module>s
��