관리-도구
편집 파일: test__version.cpython-311.pyc
� �܋f� � �V � d Z ddlmZmZ ddlmZ d� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z dS ) z#Tests for the NumpyVersion class. � )�assert_� assert_raises)�NumpyVersionc �� � t t d� � dk � � dD ]"} t t d� � | k � � �#dD ]"} t t d� � | k � � �#d S )N�1.8.0)�1.9.0z2.0.0z1.8.1z10.0.1)z1.7.0z1.7.1z0.9.9�r r ��vers �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/lib/tests/test__version.py�test_main_versionsr s� � ��L��!�!�W�,�-�-�-�4� -� -����W�%�%��+�,�,�,�,�*� -� -����W�%�%��+�,�,�,�,�-� -� c � � t t d� � dk � � t t d� � dk � � t t d� � dk � � t t d� � dk � � d S )Nr z1.10.0z1.11.0z1.11.1z1.99.11z1.99.12r � r r �test_version_1_point_10r st � ��L��!�!�H�,�-�-�-��L��"�"�X�-�.�.�.��L��"�"�h�.�/�/�/��L��#�#�i�/�0�0�0�0�0r c � � t t d� � dk � � dD ]"} t t d� � | k � � �#dD ]"} t t d� � | k � � �#t t d� � dk � � d S )Nz1.8.0rc1)r z1.8.0rc2)�1.8.0a2z1.8.0b3z1.7.2rc4z1.8.0b1r r r s r �test_alpha_beta_rcr s� � ��L��$�$� �2�3�3�3�$� 0� 0����Z�(�(�3�.�/�/�/�/�1� 0� 0����Z�(�(�3�.�/�/�/�/��L��#�#�i�/�0�0�0�0�0r c �� � t t d� � dk � � dD ]"} t t d� � | k � � �#t t d� � dk � � d S )Nz1.9.0.dev-Unknownr )r �1.9.0a1�1.9.0b2z1.9.0b2.dev-ffffffffz1.9.0.dev-f16acvdaz1.9.0.dev-11111111r r s r �test_dev_versionr $ so � ��L�,�-�-��7�8�8�8�F� :� :����1�2�2�S�8�9�9�9�9��L�-�.�.�2F�F�G�G�G�G�Gr c � � t t d� � dk � � t t d� � dk � � d S )Nz1.9.0a2.dev-f16acvdaz1.9.0a2.dev-11111111z1.9.0a2.dev-6acvda54�1.9.0a2r r r r �test_dev_a_b_rc_mixedr , sA � ��L�/�0�0�4J�J�K�K�K��L�/�0�0�9�<�=�=�=�=�=r c �� � t t d� � dk � � dD ]"} t t d� � | k � � �#t t d� � dk � � d S )Nz1.9.0.dev0+Unknownr )r r r z1.9.0b2.dev0+ffffffffz1.9.0.dev0+f16acvdaz1.9.0.dev0+11111111r r s r �test_dev0_versionr 1 so � ��L�-�.�.��8�9�9�9�G� ;� ;����2�3�3�c�9�:�:�:�:��L�.�/�/�3H�H�I�I�I�I�Ir c � � t t d� � dk � � t t d� � dk � � d S )Nz1.9.0a2.dev0+f16acvdaz1.9.0a2.dev0+11111111z1.9.0a2.dev0+6acvda54r r r r r �test_dev0_a_b_rc_mixedr 9 sA � ��L�0�1�1�5L�L�M�M�M��L�0�1�1�I�=�>�>�>�>�>r c �F � dD ]} t t t | � � �d S )N)z1.9z1,9.0z1.7.x)r � ValueErrorr r s r �test_raisesr"