관리-도구
편집 파일: test_hashtable.cpython-311.pyc
� �܋f� � � � d dl Z d dlZd dlmZ e j � dg d�� � e j � dg d�� � d� � � � � ZdS )� N)�identityhash_tester� key_length)� � � �length)r � i� c �x � d� t d� � D � � }g }t |� � D ]N}t t j || �� � � � }|� |t j |� � f� � �Ot |� � }|� t j |� � � � ||d d }t | |d�� � }||u sJ �|� d|d � � t j t � � 5 t | |� � d d d � � d S # 1 swxY w Y d S ) Nc �* � g | ]}t � � ��S � )�object)�.0�is �r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/core/tests/test_hashtable.py� <listcomp>z+test_identity_hashtable.<locals>.<listcomp> s � �(�(�(��F�H�H�(�(�(� � )�k���r T)�replace���)�range�tuple�random�choices�append�choice�dictr �insert�pytest�raises�RuntimeError) r r �pool� keys_valsr �keys� dictionary�expected�ress r �test_identity_hashtabler) sx � � )�(�e�B�i�i�(�(�(�D��I� �6�]�]� 6� 6���V�^�D�J�7�7�7�8�8�����$�� �d� 3� 3�4�5�5�5�5��i���J� ���V�]�9�-�-�.�.�.��)�B�-��*�+�H� �j�)�T� B� B� B�C��(�?�?�?�?� ���Q� �"� �&�&�&� ��|� $� $� 3� 3��J� �2�2�2�3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3���� 3� 3� 3� 3� 3� 3s �D/�/D3�6D3)r r �numpy.core._multiarray_testsr �mark�parametrizer) r r r �<module>r- s� �� � � � � � � � � <� <� <� <� <� <� �����y�y�y�1�1������=�=�=�1�1�3� 3� 2�1� 2�1�3� 3� 3r