403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/numpy/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/numpy/tests/__pycache__/test_numpy_version.cpython-311.pyc
�

���c'��2�dZddlZddlZddlmZd�Zd�ZdS)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}tjjr#tj|dztj��}n%tj||zdztj��}t
|dutj��dS)Nz/^[0-9]+\.[0-9]+\.[0-9]+(a[0-9]|b[0-9]|rc[0-9]|)z (\.dev0|)(\+[0-9]*\.g[0-9a-f]+|)�$)�np�version�release�re�match�__version__r)�version_pattern�
dev_suffix�ress   �@/usr/lib/python3/dist-packages/numpy/tests/test_numpy_version.py�test_valid_numpy_versionrsp��I�O�4�J�	�z��K��h���,�b�n�=�=����h���3�c�9�2�>�J�J���C�t�O�R�^�,�,�,�,�,�c��tjjr/ttjtjjkd��dSttj�d��dtjjkd��dS)Nz)short_version mismatch in release version�+rz-short_version mismatch in development version)rrrrr�
short_version�split�rr�test_short_versionr%s���	�z��A����"�*�":�:�;�	=�	=�	=�	=�	=�	���$�$�S�)�)�!�,��
�0H�H�?�	A�	A�	A�	A�	Ar)�__doc__r	�numpyr�
numpy.testingrrrrrr�<module>rse����"
�	�	�	�����!�!�!�!�!�!�
-�
-�
-�A�A�A�A�Ar

Youez - 2016 - github.com/yon3zu
LinuXploit