관리-도구
편집 파일: test_indexing_functions.cpython-311.pyc
� �܋fs � �� � d dl Z d dlmZ e j � dddgg d�d g d�fddgg d�dg d�fddggd gddggfddggd d gd ddgddggfg� � d � � � ZdS )� N)� array_apizx, indices, axis, expected� � )� r r )r r r ���r c �� � t j | � � } t j |� � }t j | ||�� � }t j |t j |� � k � � sJ �dS )zy Indices respect relative order of a descending stable-sort See https://github.com/numpy/numpy/issues/20778 )�axisN)�xp�asarray�take�all)�x�indicesr �expected�outs ��/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/array_api/tests/test_indexing_functions.py�test_take_functionr sa � � � �1� � �A��j��!�!�G� �'�!�W�4� (� (� (�C� �6�#���H�-�-�-�.�.�.�.�.�.�.� )�pytest�numpyr r �mark�parametrizer � r r �<module>r s� �� � � � � !� !� !� !� !� !� ���� � �Q�����A� � � �*� �Q�����B� � � �*��a�&��A�3��a�S�E�"��a�&��A�q�6�1��1�v��1�v�.�/� �� � /� /�� � /� /� /r