1
2
3
4
5
6
7
8
9
10
11
12
13
14
U
O±d5ã@spddlZddlmZddlmZddlmZeeƒZej     
dej ej g¡eej e ¡e ¡dƒdd„ƒƒZdS)    éN)Úgiven)Úmake_strategies_namespace)Ú    array_apiÚfunc)ZdtypeÚshapecCs||ƒ}|jj|jkst‚dS)zi
    Inverse indices share shape of input array
 
    See https://github.com/numpy/numpy/issues/20638
    N)Zinverse_indicesrÚAssertionError)rÚxÚout©r
ú_d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/array_api/tests/test_set_functions.pyÚtest_inverse_indices_shape
sr )ZpytestZ
hypothesisrZhypothesis.extra.array_apirÚnumpyrZxpZxpsÚmarkZ parametrizeZ
unique_allZunique_inverseZarraysZ scalar_dtypesZ array_shapesr r
r
r
r Ú<module>s