o
    Jes                     @   s   d dl Z d dlmZ e jdddgg dd g dfddgg ddg dfddggd	gddggfddggd d gd ddgddggfgd
d ZdS )    N)	array_apizx, indices, axis, expected      )   r   r   )r   r   r   r   c                 C   s@   t | } t |}t j| ||d}t |t |ksJ dS )zy
    Indices respect relative order of a descending stable-sort

    See https://github.com/numpy/numpy/issues/20778
    )axisN)xpZasarrayZtakeall)xindicesr   expectedout r   {/home/seandotau/au.memorygallery.club/gallery/lib/python3.10/site-packages/numpy/array_api/tests/test_indexing_functions.pytest_take_function   s   

r   )Zpytestnumpyr   r   markZparametrizer   r   r   r   r   <module>   s     	