myu d Z ddlmZ ddlZddlZddlmZ ddlZddlZ ddl
mZ G d d Z
G d d Zej d
e j e j e j e j e j g G d d ZdS )
z
This file tests the generic aspects of ArrayMethod. At the time of writing
this is private API, but when added, public API may be added here.
)annotationsN)Any)_get_castingimplc e Zd Z e e ej d e ej d Zej
ddddd ej d dff ej d d ffg d
Zd S )TestResolveDescriptorsdfargsTN)NNN)NNTNc t j t 5 | j j | d d d d S # 1 swxY w Y d S r )pytestraises TypeErrormethod_resolve_descriptors)selfr
s u/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/core/tests/test_arraymethod.pytest_invalid_argumentsz-TestResolveDescriptors.test_invalid_arguments s ]9
%
% 4 4,DK,d33 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4s 7;;)__name__
__module____qualname__get_castingimpltypenpdtyper r markparametrizer r r r s
_TT("(3--00$$xrx}}2E2E
F
FF[V
"(3--
"(3--
& 4 4 4 4 4r" r c Z e Zd Z e e ej d e ej d Zej
ddgdefdefdefdef ej d ej d ffef ej
d d
ej
d d ffef ej
d
d ej
d
d ffef ej
d d ej
dd ffef ej dd ej dd ffefg d ZdS )TestSimpleStridedCallr r r
errorr )r r r
z>d)r z