403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python312/Lib/site-packages/numpy/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python312/Lib/site-packages/numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc
�

	�g����dZddlZddlZddlmZejjeejd�d��Z
Gd�d�Zy)	z"
Check the numpy config is valid.
�N)�patch�_built_with_mesonzRequires Meson builds)�reasonc�B�eZdZgd�Zed�d��Zd�Zd�Zd�Zy)�TestNumPyConfigs)�	CompilerszMachine InformationzPython Informationznumpy.__config__._check_pyyamlc��t�|_tjt�5tj�ddd�y#1swYyxYw�N)�ModuleNotFoundError�side_effect�pytest�warns�UserWarning�np�show_config)�self�mock_yaml_importers  �?C:\Python312\Lib\site-packages\numpy/tests/test_numpy_config.py�test_pyyaml_not_foundz&TestNumPyConfigs.test_pyyaml_not_founds9��)<�)>��&�
�\�\�+�
&�	��N�N��	�	�	�s�A�Ac���tjd���t�t�sJ�t	�fd�|j
D��sJd��y)N�dicts��modec3�&�K�|]}|�v���
y�wr
�)�.0�key�configs  �r�	<genexpr>z2TestNumPyConfigs.test_dict_mode.<locals>.<genexpr>s�����F�S�3�&�=�F�s�zFRequired key missing, see index of `False` with `REQUIRED_CONFIG_KEYS`)rr�
isinstance�dict�all�REQUIRED_CONFIG_KEYS)rrs @r�test_dict_modezTestNumPyConfigs.test_dict_modesH������W�-���&�$�'�'�'��F�D�,E�,E�F�F�	
�
@�	
�F�c��tjt�5tjd��ddd�y#1swYyxYw)N�foor)r
�raises�AttributeErrorrr�rs r�test_invalid_modez"TestNumPyConfigs.test_invalid_mode$s/��
�]�]�>�
*�	'��N�N��&�	'�	'�	'�s	�:�Ac�^�ttjj�dk(sJd��y)N�zGNew mode detected, please add UT if applicable and increment this count)�lenr�
__config__�DisplayModesr*s r�test_warn_to_add_testsz'TestNumPyConfigs.test_warn_to_add_tests(s,���2�=�=�-�-�.�!�3�	
�
D�	
�3r%N)	�__name__�
__module__�__qualname__r#rrr$r+r1rr%rrrs3�����+�,��-��

�'�
r%r)�__doc__�numpyrr
�
unittest.mockr�mark�skipif�hasattrr/�
pytestmarkrrr%r�<module>r<sM����
��
�[�[�
�
���
�
�2�3�3�"� ��
�
�
r%

Youez - 2016 - github.com/yon3zu
LinuXploit