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_version.cpython-312.pyc
�

	�g��6�dZddlZddlZddlmZd�Zd�Zd�Zy)aY
Check the numpy version is valid.

Note that a development version is marked by the presence of 'dev0' or '+'
in the version string, all else is treated as a release. The version string
itself is set from the output of ``git describe`` which relies on tags.

Examples
--------

Valid Development: 1.22.0.dev0 1.22.0.dev0+5-g7999db4df2 1.22.0+5-g7999db4df2
Valid Release: 1.21.0.rc1, 1.21.0.b1, 1.21.0
Invalid: 1.22.0.dev, 1.22.0.dev0-5-g7999db4dfB, 1.21.0.d1, 1.21.a

Note that a release is determined by the version string, which in turn
is controlled by the result of the ``git describe`` command.
�N)�assert_c��d}d}tj||zdztj�}t	|dutj�y)Nz/^[0-9]+\.[0-9]+\.[0-9]+(a[0-9]|b[0-9]|rc[0-9])?z'(\.dev[0-9]+(\+git[0-9]+\.[0-9a-f]+)?)?�$)�re�match�np�__version__r)�version_pattern�
dev_suffix�ress   �@C:\Python312\Lib\site-packages\numpy/tests/test_numpy_version.py�test_valid_numpy_versionrs?��I�O�;�J�
�(�(�?�Z�/�#�5�r�~�~�
F�C��C�t�O�R�^�^�,�c�2�tjjr6ttjtjj
k(d�yttjj
d�dtjj
k(d�y)Nz)short_version mismatch in release version�+rz-short_version mismatch in development version)r�version�releaserr	�
short_version�split�rr
�test_short_versionr"sb��	�z�z�������"�*�*�":�":�:�;�	=�	����$�$�S�)�!�,��
�
�0H�0H�H�?�	Arc��tttj�D�cgc]}|j	d�r�|��c}�}tgd��}||k(sJ�ycc}w)N�_)�full_version�git_revisionrrr)�set�dirrr�
startswith)�s�contents�expecteds   r
�test_version_moduler",sO���s�2�:�:��H�!�a�l�l�3�6G�A�H�I�H����H��x�����Is
�A�A)	�__doc__r�numpyr�
numpy.testingrrrr"rrr
�<module>r&s%���"
��!�-�A�
 r

Youez - 2016 - github.com/yon3zu
LinuXploit