o
    es                     @   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)xpasarraytakeall)xindicesr   expectedout r   `/var/www/html/venv/lib/python3.10/site-packages/numpy/array_api/tests/test_indexing_functions.pytest_take_function   s   

r   )pytestnumpyr   r   markparametrizer   r   r   r   r   <module>   s     	